Solver and logging settings

2 ビュー (過去 30 日間)
Siddhant
Siddhant 2019 年 5 月 22 日
回答済み: Jesús Zambrano 2019 年 11 月 1 日
I am trying to simulate a model with variable step solver but I would like to have a data log using Simulation data Inspector which is based on fixed step with a defined step size. Is it possible to do so?

回答 (1 件)

Jesús Zambrano
Jesús Zambrano 2019 年 11 月 1 日
Hi Siddhanta,
If you want to simulate your model with a variable step solver and the model has a part that should work with a fixed-step solver, one possible way is to put that part of the model in a referenced model, set the referenced model to work with a fixed-step solver, log signals in this referenced model so to visualize the signals in the Simulation data inspector.
Hope this can help to answer your question.

カテゴリ

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

製品


リリース

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by