Tagged: function

break

break Terminate execution of WHILE or FOR loop. break terminates the execution of FOR and WHILE loops. In nested loops, break exits from the innermost loop only. If you use break outside of a...

matlab

open

Matlab open command OPEN Open files by extension. open NAME where NAME must contain a string, does different things depending on the type of the object named by that string: Type Action —- ——...

matlab

edit

Matlab Edit Command edit Edit M-file. edit FUN opens the file FUN.M in a text editor.  FUN must be the name of an m-file or a MATLABPATH relative partial pathname (see PARTIALPATH). edit FILE.EXT...

echo

Matlab Echo Command echo Echo commands in M-files. echo ON turns on echoing of commands inside Script-files. echo OFF turns off echoing. echo file ON where ‘file’ is a function name causes the named...

diary

DIARY Save text of MATLAB session. DIARY filename causes a copy of all subsequent command window input and most of the resulting command window output to be appended to the named file. If no...

delete

delete Delete file or graphics object. delete file_name deletes the named file from disk. Wildcards may be used. For example, delete *.p deletes all P-files from the current directory. Use the functional form of...

clear

Matlab Clear Command clear Clear variables and functions from memory. clear removes all variables from the workspace. clear VARIABLES does the same thing. clear GLOBAL removes all global variables. clear FUNCTIONS removes all compiled...