creating a .mdl file.
9 ビュー (過去 30 日間)
古いコメントを表示
What is the command used to create a .mdl(Simulink model) file.?
0 件のコメント
回答 (2 件)
Kaustubha Govind
2011 年 12 月 21 日
Either:
>> open_system(new_system))
Or:
>> simulink
File->New->Model
0 件のコメント
Michael
2014 年 3 月 31 日
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.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Simulink Functions についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!