Some button in standalone app not working after being compiled (although code working well)
显示 更早的评论
Hi Community,
As in the title, we made an app using Matlab 2019b and I compiled it to be a standalone app.
Although the code works well (in Matlab 2019b), a certain button doesn't work after being compiled to be a standalone app. That is, if I'm using code, I push the button and the corresponding function runs; But if I use the standalone app I generated and push the button, nothing just happen.
I've checked that
- My Matlab runtime is R2019b 9.7.0.1737446 (the runtime was installed while I'm installing the app)
- I do included all files in the list for compiling.
Any hint for the potential reason is high appreciated!
3 个评论
Steven Lord
2022-5-10
What command should that button execute when you press it?
Image Analyst
2022-5-10
Set breakpoints and see where it gets to. Also, why are you assigning msg and never using it? Can you attach the whole .mlapp file?
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Application Deployment 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!