1

I have a non-matlab program, which invokes a matlab script many times. However, each time the matlab script is invoked, firstly matlab workstation needs to be started and then it interprets the script.

Question:

Is there a way to initialize the matlab workstation once, followed by multiple invokes of the matlab script?

Experiment:

On Mac OSX, a simple test running the following command in terminal:

/Applications/MATLAB_R2012a.app/bin/matlab -nodisplay -nojvm -nosplash -nodesktop < test_matlab.m

test_matlab.m

1 + 1
Xan
  • 74,770
  • 16
  • 179
  • 206
user2262504
  • 7,057
  • 5
  • 18
  • 23

0 Answers0