I repeatedly call matlab script MyMatlabScript from another program (written in Erlang). I do this using a batch file containing the following:
matlab -nodesktop -nosplash -wait -r "addpath('C:/...'); MyMatlabScript; %quit;"
This means that Matlab should be run every time I run the batch script file. It works, but slowly *.
To improve performance, I would like to be able to run Matlab once, and then somehow, using Erlang or the batch version of the script, re-initiate my Matlab script using this single Matlab instance.
Can this be done?
Note. I am using Matlab 7.8.0 (R2009a) on Windows7.
* Extra slow due to the problem described here !
source share