Issue with executable create with deploytool

8 次查看(过去 30 天)
I created a GUI using matlab. I created an executable with the deploytool and it works wonderfully on my machine. But I want to launch the program on other computers. After installing the MCR (version is OK) on the client machine, the executable runs well until it crashes for no obvious reason.
I looked in the .m code where the executable crashed, for now i'm guessing that
uiwait(figure(1));
makes the .exe crash.
Has anyone ever encountered such a problem with uiwait ? Once again the problem doesn't occur on a machine where matlab is installed (tested on win32 and win64 platforms with executables compiled in 32 and 64 bits).
Any kind of answer is welcomed, thanks.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB Coder 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by