Matlab-在不打开GUI的情况下运行文件,然后退出 [英] Matlab - run file without opening GUI, then quit

查看:172
本文介绍了Matlab-在不打开GUI的情况下运行文件,然后退出的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望Matlab运行一些.m文件,该文件写入文本文件.我不想启动GUI,也不想运行命令行解释器.我有

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

matlab -nodisplay -r myfile

但是这仍然运行解释器.我应该使用什么选项?

But this still runs the interpreter. What options should I be using?

推荐答案

matlab需要解释器来运行您的命令.您总是可以使用quit结束文件,以使计算完成后再次退出Matlab

matlab needs to interpreter to run your commands. you can always end your file with quit to make matlab exit again when finished with your calculations

这篇关于Matlab-在不打开GUI的情况下运行文件,然后退出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆