Works in App designer but not with the standalone program
Show older comments
Hi,
I'm trying to create a standalone program for someone without Matlab. The source code is attached here. The program works in App designer but when I created the standalone installation, it doesn't work. It could be due to the .m functions I tried to call which also calls other functions or the symbolic equation I tried to solve. But I don't understand why and how to solve the issue. Could you help please?
Thanks and best regards,
Jianxin Wang
4 Comments
Mohammad Sami
on 25 Jan 2020
Are you compiling it to an exe ?
What is the error you got ?
Jianxin Wang
on 27 Jan 2020
Edited: Jianxin Wang
on 27 Jan 2020
Mohammad Sami
on 27 Jan 2020
You have defined some global variables in your app.
Its better that you don't use global variables. You should add these as properties of your app.
See here how to add properties. https://www.mathworks.com/help/matlab/creating_guis/share-data-across-callbacks-in-app-designer.html
Jianxin Wang
on 27 Jan 2020
Edited: Jianxin Wang
on 27 Jan 2020
Accepted Answer
More Answers (0)
Categories
Find more on MATLAB Compiler in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!