Filter löschen
Filter löschen

creating a .mdl file.

9 Ansichten (letzte 30 Tage)
Rajan
Rajan am 21 Dez. 2011
Beantwortet: Michael am 31 Mär. 2014
What is the command used to create a .mdl(Simulink model) file.?

Antworten (2)

Kaustubha Govind
Kaustubha Govind am 21 Dez. 2011
Either:
>> open_system(new_system))
Or:
>> simulink
File->New->Model

Michael
Michael am 31 Mär. 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.

Kategorien

Mehr zu Simulink Functions finden Sie in Help Center und File Exchange

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by