Use "Help command" at the >> Matlab prompt for
information on each of the
following commands
Programming language constructs.
Control flow.
if - Conditionally execute statements.
else - IF statement condition.
elseif - IF statement condition.
end - Terminate scope of FOR, WHILE, SWITCH and IF statements.
for - Repeat statements a specific number of times.
while - Repeat statements an indefinite number of times.
break - Terminate execution of WHILE or FOR loop.
switch - Switch among several cases based on expression.
case - SWITCH statement case.
otherwise - Default SWITCH statement case.
return - Return to invoking function.
Evaluation and execution.
eval - Execute string with MATLAB expression.
feval - Execute function specified by string.
evalin - Evaluate expression in workspace.
builtin - Execute built-in function from overloaded method.
assignin - Assign variable in workspace.
run - Run script.
Scripts, functions, and variables.
script - About MATLAB scripts and M-files.
function - Add new function.
global - Define global variable.
mfilename - Name of currently executing M-file.
lists - Comma separated lists.
exist - Check if variables or functions are defined.
isglobal - True for global variables.
Argument handling.
nargchk - Validate number of input arguments.
nargin - Number of function input arguments.
nargout - Number of function output arguments.
varargin - Variable length input argument list.
varargout - Variable length output argument list.
inputname - Input argument name.
Message display.
error - Display error message and abort function.
warning - Display warning message.
lasterr - Last error message.
errortrap - Skip error during testing.
disp - Display an array.
fprintf - Display formatted message.
sprintf - Write formatted data to a string.
Interactive input.
input - Prompt for user input.
keyboard - Invoke keyboard from M-file.
pause - Wait for user response.
uimenu - Create user interface menu.
uicontrol - Create user interface control.