Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
How to check the value of a varriable of a subfunction?
조회 수: 1 (최근 30일)
이전 댓글 표시
I've a function that calls another function. I can debug the program but I can't check the value of any variable of the called function after debugging. It shows me error. How can I do it?
댓글 수: 0
답변 (1개)
David Sanchez
2013년 6월 24일
You can send the variable, from the local function, to the base workspace using assignin:
assignin('base', 'my_variable', Value_of_variable)
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!