Increase temporal granularity in simulink

Hello, I have a simulink model based on the spacecraft dynamics example here:
that by default outputs the satellite position at intervals of roughly 10s when not pointing at specific targets (i.e. is in a "point at Nadir" state).
Is it possible to increase the temporal granularity across the whole orbit, in order to have for example a largest time step of 0.5s, even when pointing at Nadir?
Thank you

 採用された回答

Paul
Paul 2024 年 9 月 13 日

0 投票

Do you just want to set the maximum step size for the solver?

3 件のコメント

Nic Bac
Nic Bac 2024 年 9 月 16 日
yes, I tried to change the simulation pacing, but that doesn't seem to do the trick
Paul
Paul 2024 年 9 月 16 日
Simulation pacing controls how fast the simulation runs relative to real time, but doesn't change anything with respect to the solver step size or signal logging (at least not as I understand it), which is what I thought was the crux of this question.
Perhaps I don't understand what's intended by "have ... a largest time step of 0.5s."
Nic Bac
Nic Bac 2024 年 9 月 16 日
While looking for a way to set the maximum temporal step size I was able to find only the simulation pacing option, which as you say doesn't really do what was I needed.
Based on your first comment I found this, that was what I was looking for.
Thanks!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeReference Applications についてさらに検索

製品

リリース

R2024a

質問済み:

2024 年 9 月 13 日

コメント済み:

2024 年 9 月 16 日

Community Treasure Hunt

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

Start Hunting!

Translated by