MATLAB Answers

0

step by step running of matlab

Asked by Eliraz Nahum on 24 Sep 2018
Latest activity Answered by Eliraz Nahum on 26 Sep 2018
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

  0 Comments

Sign in to comment.

Products


Release

R2018a

2 Answers

Answer by Stephen Cobeldick on 24 Sep 2018
Edited by Stephen Cobeldick on 24 Sep 2018
 Accepted Answer

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.

  0 Comments

Sign in to comment.


Answer by Eliraz Nahum on 26 Sep 2018

thanks

  0 Comments

Sign in to comment.