필터 지우기
필터 지우기

creating a .mdl file.

조회 수: 9 (최근 30일)
Rajan
Rajan 2011년 12월 21일
답변: Michael 2014년 3월 31일
What is the command used to create a .mdl(Simulink model) file.?

답변 (2개)

Kaustubha Govind
Kaustubha Govind 2011년 12월 21일
Either:
>> open_system(new_system))
Or:
>> simulink
File->New->Model

Michael
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.

카테고리

Help CenterFile Exchange에서 Simulink Functions에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by