command line - run Matlab in batch mode -


It seems that there are two ways to run a mailback in batch mode:

First:

  unavailable DISPLAY matlab & gt; Matlab.out 2 & gt; And 1 & lt; & Lt; EOF Plot (1:10) Exit the print file EOF  

The second option uses the option "-r MATLAB_command":

  matlab -nojvm -nosplash -r MyCommand  

Are these two equal?

What is the "& lt; EOF" in the first method and what is the last "EOF"?

Thanks and connection!

The first method is only standard output & gt; Matlab.out and standard error 2 & gt; And 1 in the file matlab.out .

Then it is passing input to MATLAB (this is not specific to MATLAB, it is normally a method of passing multiple lines as the input of command line programs).

Syntax After a unique identifier, then your text, finally, can end up with unique IDs you can open it on:

  Cat  

-r option begins on MATLAB and immediately executes the given details. This is some command or path The name of the script or function found may be on. This is equivalent to doing something like this:

  Python-c "Print 'Hello World'"  

For a list of other start options, refer to this.


Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

php - jQuery AJAX Post not working -