필터 지우기
필터 지우기

Is there any method to know the steps how does a program executes ?

조회 수: 2 (최근 30일)
Prajakt
Prajakt 2013년 8월 26일
hello, i have a main m.file which executes the other m.files containing other functions associated to the code. It is basically a code written for a tool developed with the help of GUI. I want to know how does the program executes, step-by-step, so that I can know the program structure properly.
Thanks in advance..

채택된 답변

Jan
Jan 2013년 8월 26일
The best method is using the debugger: Set a breakpoint in the first line, start the program and then run it line by line. You can observe the values of the locally used variables in the Workspace-Browser. You can step into subfunctions also.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Workspace Variables and MAT-Files에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by