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!