Guy on Simulink

Simulink & Model-Based Design

Posts 31 - 40 of 55

Results for: Signals

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... read more >>

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... read more >>

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... read more >>

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... read more >>

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,... read more >>

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... read more >>

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... read more >>

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... read more >>

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

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... read more >>

Creating Test Cases Using Signal Builder 20

By Parasar Kodati Every model needs to be tested, and all tests need inputs. For example control algorithms are typically tested with step or ramp inputs. An automotive suspension model test inputs... read more >>

Posts 31 - 40 of 55