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 needs to interpreter to run your commands. you can always end your file with
quitto make matlab exit again when finished with your calculations