Can I control Simulink's simulation interval?

Can I control Simulink's simulation interval? I thought it would be set by the sample time in the model parameters, (i.e.), Solver: [Type = Fixed step, Solver = discrete (no continuous states), Fixed step size]. But it appears to be completely independent, (as seen by the output of the Clock block).
I am doing sample by sample processing and do not need the higher rate of the simulation interval.

2 个评论

I'm not sure I understand your question. Could you elaborate on do not need the higher rate of the simulation interval". What is the selected fixed-step size, and what is the Clock showing you?
From what I understand, you mean to say you see simulation step sizes to be different from what you set them to be for a fixed step discrete solver. Thats weird, attach your model for inspection.

请先登录,再进行评论。

回答(0 个)

类别

在 帮助中心 和 File Exchange 中查找有关 Event Functions 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by