MATLAB Answers

Compiled App: GUI appears but does not execute.

1 view (last 30 days)
Richard on 24 Jul 2021
Answered: Yongjian Feng on 24 Jul 2021
I've sent a version of an application in development to a customer. The GUI is a simple window: fill in a file name and push a button. The underlying application is somewhat complex. The application works in all possible configurations of my development environment: run from App Design, run as a .exe on my development computer, and run on a separate, standalone computer. I'm the administrator on both computers.
The customer has the correct MCR installed in the correct (local)location. The GUI appears when the app is run, but no output appears when the "run" button is pressed. What are the possibilities? The only difference might be one of adminstrative privilege since the customer's computer is a networked customer device. They are going to try execution on a standalone lab computer, but if this does work what might be required to run the app on the networked machine. I've also requested the customer to run the app in a cmd window to see if an error pops up.

Answers (1)

Yongjian Feng
Yongjian Feng on 24 Jul 2021
In general, it will be helpful to log important events for debugging. For example, log a message when
  1. The App starts
  2. The button is clicked
  3. The file name read in....




Community Treasure Hunt

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

Start Hunting!