GUIDE program debugging question (using "keyboard")

조회 수: 1 (최근 30일)
Douglas Anderson
Douglas Anderson 2015년 9월 17일
편집: KAE 2017년 6월 20일
Hello,
I have a large gui program developed using GUIDE, consisting of several functions, and am having a problem. I put a "keyboard" statement at the very end of one function (after the guidata(hObject,handles) call). The arrays that are to be passed look fine, and in fact if I call other functions on the main gui screen (the K>> is still displayed in the Command Window), everything looks fine. Then when I "return", the other functions don't appear to work properly.
Any thoughts as to how to check what is getting passed incorrectly?
Thanks.
Doug Anderson
  댓글 수: 1
KAE
KAE 2017년 6월 13일
편집: KAE 2017년 6월 20일
I called MathWorks with problems exiting out of GUI debugging of code, and they said that R2015b has a known problem with this. I believe it is explained by Yair Altman here (search for 1-MH5KVI). However later versions don't have this problem. I was able to switch to R2017a to debug and the problem went away.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by