Guy on Simulink

Simulink & Model-Based Design

Posts 31 - 40 of 56

다음에 대한 결과: Signals

Initializing buses using a MATLAB Structure 10

Did you notice that since R2010a it is possible to initialize buses with a MATLAB structure? If you were not aware, here is how it works. Starting from a Structure Let's say I have a structure... 더 읽어보기 >>

Continuous sample time inside For Each Subsystem 7

Back in 2010, I wrote a post explaining how to apply a scalar algorithm to a vector using the For Each subsystem. At that time, only discrete algorithms could be vectorized that way. In R2011b, the... 더 읽어보기 >>

Troubleshooting the Transport Delay Block 2

Yesterday I came across this model: At first look, one might think that these two implementations should give the same results. However this is not the case because the delayed data is... 더 읽어보기 >>

Controlling signal logging from Model Explorer

Today I want to share a useful trick to control signal logging using the Model Explorer. Enabling Logging from the Signal Properties dialog Until recently, to enable logging of signals I was... 더 읽어보기 >>

The Dataset logging format 2

Did you notice the new Dataset logging format available in R2011a? This new format offers a lot of advantages over the old ModelDataLogs format. Here are a few examples. Timeseries... 더 읽어보기 >>

Variable-size signals and Unit Delay 2

I received requests recently about variable-size signals and the Unit Delay block. One question, many answers What should a Unit Delay do when the size of a signal changes? Unfortunately,... 더 읽어보기 >>

Importing variable-step signals into Simulink

This week I received the following question from a Simulink user: I have a data acquisition system which saves signals at variable intervals. I want to import this data into a variable-step... 더 읽어보기 >>

Data Store Enhancement: Accessing Specific Bus and Array Elements 8

In Simulink R2011a, Data Store blocks have been improved to support bus signals and more. To give you a quick idea, these enhancements can transform the syntax you are used to on the left to what... 더 읽어보기 >>

How Do I Change a Block Parameter Based on the Output of Another Block? 49

By Guy Rouleau One question I often receive is: How can I change the value of a block parameter while the simulation is running? A good example of this type of question is the following: How do... 더 읽어보기 >>

You need an integrator with variable limits… there’s a solution for that! 17

By Guy Rouleau Today I received a question where the user was looking for an Integrator block with variable upper and lower limits that could be specified from signals. I was happy to simply... 더 읽어보기 >>

Posts 31 - 40 of 56