Parse Function Inputs ....................................
21-13
Input Parser Validation Functions ..........................
21-17
Debugging MATLAB Code
22
Debug MATLAB Code Files .................................
22-2
Display Output ........................................
22-2
Debug by Using Run to Here Button ........................
22-3
View Variable Value While Debugging .......................
22-5
Pause a Running File ...................................
22-5
Step Into Functions ....................................
22-5
Add Breakpoints and Run Code ............................ 22-6
End Debugging Session .................................
22-7
Debug by Using Keyboard Shortcuts or Functions ..............
22-8
Set Breakpoints ..........................................
22-9
Standard Breakpoints ...................................
22-9
Conditional Breakpoints ................................
22-10
Error Breakpoints .....................................
22-11
Breakpoints in Anonymous Functions ......................
22-11
Invalid Breakpoints ...................................
22-12
Disable Breakpoints ...................................
22-12
Clear Breakpoints .....................................
22-12
Examine Values While Debugging ..........................
22-14
View Variable Value ...................................
22-14
View Variable Value Outside Current Workspace ..............
22-15
Presenting MATLAB Code
23
Publish and Share MATLAB Code ...........................
23-2
Create and Share Live Scripts in the Live Editor ...............
23-2
Publish MATLAB Code Files (.m) ...........................
23-2
Add Help and Create Documentation .......................
23-4
Publishing Markup .......................................
23-6
Markup Overview ......................................
23-6
Sections and Section Titles ...............................
23-8
Text Formatting .......................................
23-9
Bulleted and Numbered Lists ............................
23-10
Text and Code Blocks ..................................
23-10
External File Content ..................................
23-11
External Graphics .....................................
23-12
Image Snapshot ......................................
23-14
LaTeX Equations ...................................... 23-14
Hyperlinks ..........................................
23-16
xix
21-13
Input Parser Validation Functions ..........................
21-17
Debugging MATLAB Code
22
Debug MATLAB Code Files .................................
22-2
Display Output ........................................
22-2
Debug by Using Run to Here Button ........................
22-3
View Variable Value While Debugging .......................
22-5
Pause a Running File ...................................
22-5
Step Into Functions ....................................
22-5
Add Breakpoints and Run Code ............................ 22-6
End Debugging Session .................................
22-7
Debug by Using Keyboard Shortcuts or Functions ..............
22-8
Set Breakpoints ..........................................
22-9
Standard Breakpoints ...................................
22-9
Conditional Breakpoints ................................
22-10
Error Breakpoints .....................................
22-11
Breakpoints in Anonymous Functions ......................
22-11
Invalid Breakpoints ...................................
22-12
Disable Breakpoints ...................................
22-12
Clear Breakpoints .....................................
22-12
Examine Values While Debugging ..........................
22-14
View Variable Value ...................................
22-14
View Variable Value Outside Current Workspace ..............
22-15
Presenting MATLAB Code
23
Publish and Share MATLAB Code ...........................
23-2
Create and Share Live Scripts in the Live Editor ...............
23-2
Publish MATLAB Code Files (.m) ...........................
23-2
Add Help and Create Documentation .......................
23-4
Publishing Markup .......................................
23-6
Markup Overview ......................................
23-6
Sections and Section Titles ...............................
23-8
Text Formatting .......................................
23-9
Bulleted and Numbered Lists ............................
23-10
Text and Code Blocks ..................................
23-10
External File Content ..................................
23-11
External Graphics .....................................
23-12
Image Snapshot ......................................
23-14
LaTeX Equations ...................................... 23-14
Hyperlinks ..........................................
23-16
xix
