How to introduce different step sizes in a simulink model?
Show older comments
I´m running R2013a. My model is a big continuos physical model, and I am having problems with the dynamics, some systems are faster than others.
So, what I need to know is if it´s possible to have different step sizes in the same model,for example, by means of model referencing.
Thanks in advance
Answers (1)
Azzi Abdelmalek
on 30 Jul 2013
0 votes
You can not have different fixed step size, but you can set different sample times (they have to be multiple of the fixed step size)
2 Comments
Rogelio
on 30 Jul 2013
Tong Zhao
on 27 Mar 2021
I'd like to add that, one can have fixed stepsize for a subgroup of signals inside a Simulink model under 'Variable Stepsize solver' option. This could be done by adding 'Rate Transition' blocks before the desired signals. I quote the block description below:
The Rate Transition block transfers data from the output of a block operating at one rate to the input of a block operating at a different rate. Use the block parameters to trade data integrity and deterministic transfer for faster response or lower memory requirements.
Categories
Find more on Simulink Functions in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!