Some button in standalone app not working after being compiled (although code working well)
Show older comments
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 Comments
Steven Lord
on 10 May 2022
What command should that button execute when you press it?
Image Analyst
on 10 May 2022
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?
Accepted Answer
More Answers (0)
Categories
Find more on Get Started with MATLAB Compiler in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!