logo in GUI is missing after compiling GUI with deploytool

2 次查看(过去 30 天)
Hi everybody,
I created a GUI using GUIDE with a logo in the corner. This works fine. But when I compile this GUI to a standalone .exe application the logo is missing and I get an error in LogoButton_CreateFnc that the .png is missing.
In deploytool you can select additional files to be added during compilation but selecting the .png does not solve the problem. Also adding the .png to the same folder as the .exe doesn't help.
Any suggestions? Thanks in advance!
Maarten

采纳的回答

maarten vaandrager
I asked Matlab Support and they told me I had to add it as a "shared resource and helper file" instead of adding it in the package tab. Now it works fine in the .exe
Sometimes the answers are soo simple and obvious...
Thanks Matlab Support!

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Application Deployment 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by