Button Not Responding After Packaging Application in Matlab App Designer 2022b

I have developed a matlab app using app designer in R2022b. Everything is fine except for a button which is not responding. It is supposed to display a figure on clicking. It is working in both .mlapp format and .exe format for testing in my PC which has matlab installed in it, but not in the target PC where i have installed the Matlab Runtime. Could anyone help me with this issue?

2 Comments

By default the console output for executables is suppressed. Open the Additional Settings section in AppCompiler at the bottom and uncheck this option. You will now see the error messages in the console output. It looks like a missing dependency...
Thank you Chris. You were right. It was an issue of missing dependancy. Basically, the image on top of which i was plotting was not added to the list of dependancies while packaging. I added it manually, now it is working fine.

Sign in to comment.

Answers (0)

Categories

Products

Release

R2022b

Asked:

on 4 Apr 2024

Commented:

on 4 Apr 2024

Community Treasure Hunt

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

Start Hunting!