Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[Simulink] How do I increase the sample time (data rate) of a subsystem

44 views
Skip to first unread message

Brian B

unread,
Aug 25, 2011, 6:37:29 PM8/25/11
to
A subsystem I have needs to run through a number of iterations before the simulation should move on. One way I can think to do this is to set the sample rate for the subsystem smaller than the model...

I get errors about sample time mismatches when I use a rate transition block to "speed up" a subsystem in my model: "All sample times in your model must be an integer multiple of the fixed-step size." I understand the problem (RT block has sample times smaller than the model), found here: http://www.mathworks.com/help/toolbox/simulink/ug/br09i6c.html , so i guess it means I must decrease the time step for the entire model under config parameters and slow down the rest of the simulation except the subsystem?

Any suggestions?

Thanks

0 new messages