Borrar filtros
Borrar filtros

creating a .mdl file.

9 visualizaciones (últimos 30 días)
Rajan
Rajan el 21 de Dic. de 2011
Respondida: Michael el 31 de Mzo. de 2014
What is the command used to create a .mdl(Simulink model) file.?

Respuestas (2)

Kaustubha Govind
Kaustubha Govind el 21 de Dic. de 2011
Either:
>> open_system(new_system))
Or:
>> simulink
File->New->Model

Michael
Michael el 31 de Mzo. de 2014
open_system only opens a current existing system. If you want to create one from scratch:
>> new_system('test') >> if ismac() >> save_system('test3','test3.slx') %for mac use extension .slx, windows use .mdl >> end; >> if ispc() >> save_system('test3','test3.mdl') >> end;
This should work.

Categorías

Más información sobre Simulink Functions en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by