GUI issues when running as stand-alone Windows 32 bit

1 view (last 30 days)
I have an application that has been running fine both inside Matlab and as stand-alone when built from 2014b. After installing 2015b the application still looks correct when run from Matlab, but after compiling and running as stand-alone some of the graphic elemets are missing. The application still works, and no visible errors are thrown, but borders around some buttons are missing and drop-down menues looks bad. I have tried to re-install MCR 9.0 and I have deleted and created a new project file, but still no luck.

Accepted Answer

Image Analyst
Image Analyst on 8 Nov 2015
This is a known bug. See workarounds here: http://www.mathworks.com/support/bugreports/1293244
You have to put the code in your startup.m file, and make sure it gets run when your target standalone runs, i.e., don't put the code in a block like
if ~isdeployed
I'll try to edit this later and show you what you need to have in your startup.m, but it's basically what workaround #1 says. Don't overwrite your own startup.m though, just add what they say to your existing startup.m.

More Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!