creating a .mdl file.

What is the command used to create a .mdl(Simulink model) file.?

回答 (2 件)

Kaustubha Govind
Kaustubha Govind 2011 年 12 月 21 日

1 投票

Either:
>> open_system(new_system))
Or:
>> simulink
File->New->Model
Michael
Michael 2014 年 3 月 31 日

0 投票

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.

カテゴリ

ヘルプ センター および File ExchangeSimulink についてさらに検索

製品

タグ

質問済み:

2011 年 12 月 21 日

回答済み:

2014 年 3 月 31 日

Community Treasure Hunt

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

Start Hunting!

Translated by