Remove initial state from SimulationInput object

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

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개)

카테고리

도움말 센터File Exchange에서 Programmatic Model Editing에 대해 자세히 알아보기

제품

릴리스

R2021b

질문:

2022년 1월 13일

댓글:

2022년 4월 8일

Community Treasure Hunt

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

Start Hunting!

Translated by