Simulink Initial Conditions - Active/Deactive Input and Initial State from MATLAB Script
Ältere Kommentare anzeigen
Dear Community,
I was surfing over the web, but i could not find resources that can help me with the following. Also, I am using MATLAB 2022b and launching Simulink simulations from MATLAB using the command:
SimData = sim('Simulinuk_Model.slx','simulationmode','Normal');
However, i want to active and deactive the following options (Input and Initial state check and uncheck) through a matlab script:

Could someone please be so kind to provide me the example code?
Thank you very much in advance
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Modeling finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!