step by step running of matlab
121 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Stephen23
2018-9-24
编辑:Stephen23
2018-9-24
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 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!