why after making my executable gui some buttons do not work?
显示 更早的评论
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
2017-11-5
0 个投票
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
2017-11-5
Erwin Avendaño
2017-11-5
Walter Roberson
2017-11-5
Can you attach your code (zip it all up and attach the zip), along with a description of how you did the compiling, and also the steps that would be needed to reproduce the problem? If a data file is needed, include a sample data file so we can test.
Erwin Avendaño
2017-11-5
Erwin Avendaño
2017-11-5
Erwin Avendaño
2017-11-5
Erwin Avendaño
2017-11-5
Erwin Avendaño
2017-11-5
Erwin Avendaño
2017-11-5
Erwin Avendaño
2017-11-5
Erwin Avendaño
2017-11-5
编辑:Walter Roberson
2017-11-6
Erwin Avendaño
2017-11-5
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.
类别
在 帮助中心 和 File Exchange 中查找有关 Function Creation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


