How to open the simulink file using command
이전 댓글 표시
i have a simulink file named r.mdl. It is saved in desktop location. How can i open that file using command, in command window.
채택된 답변
추가 답변 (1개)
Zhe Chen
2020년 5월 10일
1 개 추천
you can just type the name of the model file (without the extension name) on the command line. There is no need to use the function 'open_system'.
댓글 수: 2
Ravi
2020년 5월 10일
Aik-Siong Koh
2021년 1월 4일
>> open_system('matlab/test/toolbox/simulink/sampletimes/explicitPartitioning/shared/models/mInvalidPartitionNissanPortNameConflict.slx')
Above works fine. But below doesn't. Please advise. Thanks.
>> matlab/test/toolbox/simulink/sampletimes/explicitPartitioning/shared/models/mInvalidPartitionNissanPortNameConflict
Execution of script matlab as a function is not supported:
/local-ssd/akoh/4544a/matlab/toolbox/matlab/general/matlab.m
카테고리
도움말 센터 및 File Exchange에서 Simulink에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!