creating a .mdl file.
古いコメントを表示
What is the command used to create a .mdl(Simulink model) file.?
回答 (2 件)
Kaustubha Govind
2011 年 12 月 21 日
Either:
>> open_system(new_system))
Or:
>> simulink
File->New->Model
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 Exchange で Simulink についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!