Can we run simulink by m file when simulink interface is not opened
9 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Ilkay Meseli
il 7 Mar 2013
Commentato: Abhishek Krishna
il 1 Lug 2018
ı want to run a simulink file by m file .So, ı use 'sim' command.
but when ı use it , simulink interface is opened.
Can we run simulink by m file when simulink interface is not opened
0 Commenti
Risposta accettata
Teja Muppirala
il 7 Mar 2013
Yes, you can use the LOAD_SYSTEM command to load the model into memory without bringing up the Simulink interface, for example:
>> model = 'sldemo_househeat';
>> load_system(model)
>> sim(model)
Più risposte (2)
Azzi Abdelmalek
il 7 Mar 2013
Modificato: Azzi Abdelmalek
il 7 Mar 2013
Yes you can do it, without even loading or opening your model
1 Commento
Teja Muppirala
il 7 Mar 2013
Hey, yeah, you're right, SIM automatically loads it. I didn't know that before.
Abdullah Tahir
il 13 Mag 2014
Can you please tell how to pause and resume the Matlab simulation from script file?
1 Commento
Abhishek Krishna
il 1 Lug 2018
Add Breakpoint at the place where you want to pause. And forward it step by step
Vedere anche
Categorie
Scopri di più su Simulink Environment Customization in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!