step by step running of matlab

조회 수: 149 (최근 30일)
Eliraz Nahum
Eliraz Nahum 2018년 9월 24일
답변: Eliraz Nahum 2018년 9월 26일
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.

추가 답변 (1개)

Eliraz Nahum
Eliraz Nahum 2018년 9월 26일
thanks

카테고리

Help CenterFile Exchange에서 Programming에 대해 자세히 알아보기

제품


릴리스

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by