MATLAB Function Reference
Commands by Subject
  Go to function:
    Search    Help Desk 

Language Constructs and Debugging


MATLAB as a Programming Language

builtin Execute builtin function from overloaded method
eval Interpret strings containing MATLAB expressions
evalc Evaluate MATLAB expression with capture
evalin Evaluate expression in workspace
feval Function evaluation
function Function M-files
global Define global variables
nargchk Check number of input arguments
persistent Define persistent variable
script Script M-files

Control Flow

break Terminate execution of for loop or while loop
case Case switch
catch Begin catch block
else Conditionally execute statements
elseif Conditionally execute statements
end Terminate for, while, switch, try, and if statements or indicate last
error Display error messages
for Repeat statements a specific number of times
if Conditionally execute statements
otherwise Default part of switch statement
return Return to the invoking function
switch Switch among several cases based on expression
try Begin try block
warning Display warning message
while Repeat statements an indefinite number of times

Interactive Input

input Request user input
keyboard Invoke the keyboard in an M-file
menu Generate a menu of choices for user input
pause Halt execution temporarily

Object-Oriented Programming

class Create object or return class of object
double Convert to double precision
inferiorto Inferior class relationship
inline Construct an inline object
int8, int16, int32 Convert to signed integer
isa Detect an object of a given class
loadobj Extends the load function for user objects
saveobj Save filter for objects
single Convert to single precision
superiorto Superior class relationship
uint8, uint16, uint32 Convert to unsigned integer

Debugging

dbclear Clear breakpoints
dbcont Resume execution
dbdown Change local workspace context
dbmex Enable MEX-file debugging
dbquit Quit debug mode
dbstack Display function call stack
dbstatus List all breakpoints
dbstep Execute one or more lines from a breakpoint
dbstop Set breakpoints in an M-file function
dbtype List M-file with line numbers
dbup Change local workspace context



[ Help Desk ]