Language Constructs and Debugging

------------------------------------------------------------------------
MATLAB as a Programming Language                                          
------------------------------------------------------------------------
eval          Execute string with MATLAB expression.  
feval         Execute function specified by string.   
function      Add new function.                       
global        Define global variable.                 
nargchk       Validate number of input arguments.     
------------------------------------------------------------------------
------------------------------------------------------------------
Control Flow                                                        
------------------------------------------------------------------
break         Terminate execution of loop.                          
else          Used with if.                                         
elseif        Used with if.                                         
end           Terminate the scope of for, while and if statements.  
error         Display message and abort function.                   
for           Repeat statements a specific number of times.         
if            Conditionally execute statements.                     
return        Return to invoking function.                          
while         Repeat statements an indefinite number of times.      
------------------------------------------------------------------
---------------------------------------------------------------
Interactive Input                                                
---------------------------------------------------------------
input         Prompt for user input.                        
keyboard      Invoke keyboard as if it were a script file.  
menu          Generate menu of choices for user input.      
pause         Wait for user response.                       
---------------------------------------------------------------
------------------------------------------
Debugging                                   
------------------------------------------
dbclear       Remove breakpoint.               
dbcont        Resume execution.                
dbdown        Change local workspace context.  
dbquit        Quit debug mode.                 
dbstack       List who called whom.            
dbstatus      List all breakpoints.            
dbstep        Execute one or more lines.       
dbstop        Set breakpoint.                  
dbtype        List M-file with line numbers.   
dbup          Change local workspace context.  
mexdebug      Enable MEX-file debugging.       
------------------------------------------

(c) Copyright 1994 by The MathWorks, Inc.