Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

How to debug at command window in MATLAB

📅 2016-Mar-27 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ debug, debugger, matlab ⬩ 📚 Archive

One of the killer features of MATLAB is its excellent debugging features in GUI mode. Anyone who has used the Visual Studio debugger will be right at home in MATLAB, since the keyboard shortcuts and mouse operations for debugging are the same. However, sometimes you may be using MATLAB in its -nodesktop mode where you only have access to its command window.

In these situations, you can still debug MATLAB scripts using the debugging commands:

Reference: Debugging documentation of MATLAB