Can I control Simulink's simulation interval?

2 ビュー (過去 30 日間)
Jerry Gregoire
Jerry Gregoire 2013 年 2 月 1 日
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 件のコメント
Kaustubha Govind
Kaustubha Govind 2013 年 2 月 1 日
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?
cr
cr 2013 年 2 月 7 日
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 件)

カテゴリ

Help Center および File ExchangeSimulink についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by