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... 더 읽어보기 >>
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... 더 읽어보기 >>
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... 더 읽어보기 >>
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... 더 읽어보기 >>
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... 더 읽어보기 >>
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... 더 읽어보기 >>
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,... 더 읽어보기 >>
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... 더 읽어보기 >>
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... 더 읽어보기 >>
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... 더 읽어보기 >>
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... 더 읽어보기 >>