MATLAB: How to open the simulink file using command

simulink

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.

Best Answer

open_system() passing in the file name, including directory if it is not in your current directory.