Compiled App: GUI appears but does not execute.

3 ビュー (過去 30 日間)
Richard
Richard 2021 年 7 月 24 日
回答済み: Yongjian Feng 2021 年 7 月 24 日
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.

回答 (1 件)

Yongjian Feng
Yongjian Feng 2021 年 7 月 24 日
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....

カテゴリ

Help Center および File ExchangeApp Building についてさらに検索

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by