I am looking for a script to restart Matlab and then run some m codes, then again restart.
There must be some easy way!!?, please share your thoughts
Thanks
Sunil
> I am looking for a script to restart Matlab and then run some m codes,
> then again restart.
> There must be some easy way!!?, please share your thoughts
There is no way to do this from within Matlab, as Matlab does not offer a
method to restart Matlab.
The mechanisms to do something like this within Linux or Mac OS X are not
difficult.
I do not know quite how to do this within MS Windows. You could create a batch
job, and you could use the "-r" parameter to give the commands, but I do not
know how to get the Windows version of Matlab to operate in command-line mode
instead of windowed mode.