Filter löschen
Filter löschen

Remove initial state from SimulationInput object

1 Ansicht (letzte 30 Tage)
Elsa Bunz
Elsa Bunz am 13 Jan. 2022
Kommentiert: Rahul Kumar am 8 Apr. 2022
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 Kommentar
Rahul Kumar
Rahul Kumar am 8 Apr. 2022
Can you provide an example code of what you are trying to do. You can remove the InitialState by setting to to []
in.InitialState = [];

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Run Multiple Simulations finden Sie in Help Center und File Exchange

Produkte


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by