필터 지우기
필터 지우기

why after making my executable gui some buttons do not work?

조회 수: 6 (최근 30일)
Erwin Avendaño
Erwin Avendaño 2017년 11월 5일
댓글: Walter Roberson 2017년 11월 6일
I made a gui that links another 9 more, each one has a method in which it calculates and graphs. Before making it executable they worked for me but after doing it an .exe file and opening it some buttons do not work, why?

답변 (1개)

Walter Roberson
Walter Roberson 2017년 11월 5일
Did you specifically tell the compiler to add the files for the other GUIs ? If you used GUIDE then because of the way it constructs callbacks, it would be common for the compiler to not be able to figure out that some files were needed. You would need to either add the files specifically or you would need to use %#function pragmas. https://www.mathworks.com/help/compiler_sdk/ml_code/function.html
  댓글 수: 13
Erwin Avendaño
Erwin Avendaño 2017년 11월 5일
the previous code is from the button that no longer serves
Walter Roberson
Walter Roberson 2017년 11월 6일
The cause of this is the same as https://www.mathworks.com/matlabcentral/answers/365294-does-my-code-have-an-error#answer_289606 . It even looks to me as if that is a duplicate question . Duplicate questions keep the volunteers spending time cleaning up questions instead of spending time answering the questions.

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

카테고리

Help CenterFile Exchange에서 Interactive Control and Callbacks에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by