How to call MATLAB from the command line several times, using the same MATLAB instance every time -



How to call MATLAB from the command line several times, using the same MATLAB instance every time -

i have .m script called windows command line (aka or prompt), , phone call script different arguments several times (50+) day.

i tried using matlab -r "run script.m" , script correctly executed, everytime issue prompt command new instance of matlab opened, undesirable in case.

is there way of identifying there instance of matlab running on windows 7 machine, , forcefulness utilize of same matlab instance on several external calls via windows command line?

as discussed here, cannot prevent matlab creating window when starting on windows systems, however, can forcefulness window hidden, using start command -nodesktop , -minimize options together:

start matlab -nosplash -nodesktop -minimize -r "run script.m"

or simply

start matlab -nosplash -nodesktop -minimize -r script

ps: although prevent creating new instances of matlab (full ide), still create same number of matlab command windows (matlab processes) instead.

matlab command-line

Comments

Popular posts from this blog

php - How to pass multiple values from url -

xslt - DocBook 5 to PDF transform failing with error: "fo:flow" is missing child elements. Required content model: marker* -

database - php search bar when I press submit with nothing in the search bar it shows all the data -