Remove initial state from SimulationInput object

1 回表示 (過去 30 日間)
Elsa Bunz
Elsa Bunz 2022 年 1 月 13 日
コメント済み: Rahul Kumar 2022 年 4 月 8 日
If I set an initial state for a SimulationInput object using
in = in.setInitialState(xInitial)
(see here), how can I remove the initial state again and start a simulation from t=0 with the same SimulationInput object?
Thanks in advance!
  1 件のコメント
Rahul Kumar
Rahul Kumar 2022 年 4 月 8 日
Can you provide an example code of what you are trying to do. You can remove the InitialState by setting to to []
in.InitialState = [];

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeRun Multiple Simulations についてさらに検索

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by