I am running MATLAB with a command line string like this:
C:\<a long path here>\matlab.exe -nodisplay -nosplash -nodesktop -r "run('C:\<a long path here>\mfile.m');"
The m-file contains a plot() function to plot a simple curve on the x-y plane.
The m-file successfully runs and draws the plotting with the command line string I specified above. However, every time I run this command, a window named "MATLAB Command Window" appears along with the plotting.
How do I make this "MATLAB Command Window" NOT appear, so that only the plotting will be visible.
The "MATLAB Command Window" looks like below:

h = figure('visibility','off');) does it pop up? - André Caron