How to open the simulink file using command
Mostra commenti meno recenti
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.
Risposta accettata
Più risposte (1)
Zhe Chen
il 10 Mag 2020
1 voto
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 Commenti
Ravi
il 10 Mag 2020
Aik-Siong Koh
il 4 Gen 2021
>> 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
Categorie
Scopri di più su Simulink in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!