Matlab - run file without opening GUI, then quit

前端 未结 3 1762
攒了一身酷
攒了一身酷 2021-02-07 15:46

I want Matlab to run some .m file, which writes to a text file. I don\'t want the GUI to launch, and I don\'t want the command line interpreter to run. I\'ve got



        
3条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-02-07 16:09

    You could compile myfile into a standalone program and run that instead. Use Matlab's compiler mcc for that (if you have it), more information is provided in this question.

提交回复
热议问题