How to introduce different step sizes in a simulink model?

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)

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

But the sample time in a continuous block is [0,0]. Do you know any example?
Thanks
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.

Sign in to comment.

Categories

Products

Asked:

on 30 Jul 2013

Commented:

on 27 Mar 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!