Remove initial state from SimulationInput object

1 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Run Multiple Simulations 的更多信息

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by