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!