Info

This question is closed. Reopen it to edit or answer.

Observing Execution of a Program

1 view (last 30 days)
Saeid Hajizadeh
Saeid Hajizadeh on 9 May 2014
Closed: MATLAB Answer Bot on 20 Aug 2021
Dear Guys,
I want to make the execution of a program in Matlab so slow (at human speed), that I can easily observe the process of execution, i.e. each operation. Is it possible?

Answers (1)

Scott
Scott on 9 May 2014
You can use the Debug system to execute statements line-by-line by jumping into or over code, and/or using breakpopints. You can also section your code into "cells" by using "%%" and deliberately executing the code in each cell; search help for "cell mode"

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!