How to execute matlab code from an already running instance?

I already have a matlab instance running, and I want to execute my matlab project from the same matlab instance, and not open a separate instance. Actually, I need to have faster matlab processing, and this frequent opening slows things down. How to do it?

I call matlab from PHP:

$command = "matlab  -nojvm -nodesktop -nodisplay -r \"Preprocess('$photo_upload_path','$processed_photo_output_path');exit\"";
exec($command);

I am using a windows machine.

+4
source share
1 answer

. , MATLAB COM Automation Server - , MATLAB Python. , , , (, MATLAB, , , ). PHP .

0

All Articles