Can we run simulink by m file when simulink interface is not opened
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Ilkay Meseli
el 7 de Mzo. de 2013
Comentada: Abhishek Krishna
el 1 de Jul. de 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 comentarios
Respuesta aceptada
Teja Muppirala
el 7 de Mzo. de 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)
Más respuestas (2)
Azzi Abdelmalek
el 7 de Mzo. de 2013
Editada: Azzi Abdelmalek
el 7 de Mzo. de 2013
Yes you can do it, without even loading or opening your model
1 comentario
Teja Muppirala
el 7 de Mzo. de 2013
Hey, yeah, you're right, SIM automatically loads it. I didn't know that before.
Abdullah Tahir
el 13 de Mayo de 2014
Can you please tell how to pause and resume the Matlab simulation from script file?
1 comentario
Abhishek Krishna
el 1 de Jul. de 2018
Add Breakpoint at the place where you want to pause. And forward it step by step
Ver también
Categorías
Más información sobre Simulink Environment Customization en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!