MATLAB: How to debug the live script

debuggingeditorliveMATLAB

Can I place break points in my live script to perform debugging as I would with regular script files?

Best Answer

Visual debugging is not supported as of the current release (R2016a), but you can perform command line debugging – e.g:
 
>> dbstop myfile.mlx
>> myfile
>> dbstep
You will see your output and figures in their traditional form.