KB01: Useful MATLAB Commands



A few Important Commands

demo Run MATLAB's built-in demonstrations  
clc Clear the Command Window  
clf Clear the contents of the current figure window  
clear Clear the variables in the workspace  
CTRL + C Abort the running program, returns a command prompt  
diary Keep track of everything done in the MATLAB session