step by step running of matlab

105 次查看(过去 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

采纳的回答

Stephen23
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 个)

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

产品


版本

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by