step by step running of matlab

117 views (last 30 days)
Eliraz Nahum
Eliraz Nahum on 24 Sep 2018
Moved: Stephen23 on 10 May 2024
hello, is there a way of running matlab, so I can see each step it does. I would like to point out that I want to see any action it does. for example, if there is a row in which it refers to a function, so I want matlab to show me what happens in any row of the function, what the variables are etc. thanks

Accepted Answer

Stephen23
Stephen23 on 24 Sep 2018
Edited: Stephen23 on 24 Sep 2018
Use the debugging mode, that is exactly what it is for.
Start by putting a breakpoint at the start of the function. Then run it. Step through using the buttons in the toolbar. I highly recommend that you watch a video tutorial before starting, so you get a feeling for how it works:
There are plenty more tutorials on the interweb.

More Answers (0)

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Products


Release

R2018a

Community Treasure Hunt

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

Start Hunting!