Debug initialization commands and parameter callbacks entered directly into the Mask Editor in one of the following ways:
Remove the terminating semicolon from a command to echo its results to the MATLAB® Command Window.
in the code to stop execution and give control to the keyboard.
Note: You cannot debug icon drawing commands using the MATLAB Editor/Debugger. For information on icon drawing commands syntax, see Icon drawing commands.
Debug initialization commands and parameter callbacks written in files using the MATLAB Editor/Debugger in the same way that you would with any other MATLAB program file.
When debugging initialization commands, you can view the contents
of the mask workspace. However, when debugging parameter callbacks,
you can only access the base workspace of the block. If you need the
value of a mask parameter, use