How do I quit MATLAB after execution is finished through command?

后端 未结 2 652
一个人的身影
一个人的身影 2020-12-19 09:00

Instead of writing quit in my .m file, can I do this through command? I want to close MATLAB right after the file execution is completed.

F

2条回答
  •  醉梦人生
    2020-12-19 09:19

    write down in the last line of your .m file and when you run your simulation after it shows result it will quit itself.

    [...] % code
    
    quit
    

提交回复
热议问题