Why is app designer not opening?

I am unable to open app designer. I am running Mac OS Sierra with MATLAB 2016b. When I click on opening a new app designer script a MATLAB window icon appears in my dock, but a window does not appear.

17 Comments

Did you solve this?
Data point: it seems to work for me in OS-X Sierra with R2016b
Can you offer some insights on the following...
Are you opening an app from 16a?
If you only try to open the app designer desktop environment by calling "appdesigner", instead of a specific app, does the desktop open?
If you open the app by calling "h = myapp", do you get an object back that you can use to reposition the UIFigure inside of it?
I'm having the same issue, running Sierra 10.12 and Matlab 2016b. Calling 'appdesigner' from the command window seems to do nothing. Calling my app directly will run it, and I can create a handle to the app figure object.
I am unable to open the app designer window whether I use the appdesigner command, or go to the new script in the toolbar. I have not been trying to open a specific app.
So far all of the reports seem to be about Sierra. Is anyone having this difficulty on a non-Sierra system? Is anyone having this difficulty on a version other than R2016b ?
The people who are having this difficulty: what is your regional setting? getenv('LANG') And have you installed the Sierra patch?
I'm in the UK and therefore didn't install the Sierra patch as I shouldn't be affected. My Matlab language is 'en_GB'
Elliot Wolf
Elliot Wolf on 28 Dec 2016
Edited: Walter Roberson on 21 Jul 2017
I spoke with Technical Support this morning to resolve the same problem...appdesigner program would not launch, only a blank AppDesigner window.
Here were the instructions provided by Tech Support specialist:
1) type prefdir into the MatLab command window prompt
2) it should return a directory folder location, for example, C:\Users\Name\AppData\Roaming\MathWorks\MATLAB\R2016b
3) rename this existing folder to C:\Users\Name\AppData\Roaming\MathWorks\MATLAB\R2016b_old
4) Create a new folder with the same original name C:\Users\Name\AppData\Roaming\MathWorks\MATLAB\R2016b
5) Close and re-start MatLab
Something about the files get weird/corrupted and this creates a new empty folder that it writes files to.
Good Luck!
I am having the same problem and need a solution urgently, did someone find out about it?
Elliot Wolf's solution looks promising.
Elliot's solution should work but it might also be overkill, which is why I'd recommend looking into some of the settings in the preference directory.
I had a similar problem as well and followed Elliot Wolf's solution. It worked! Thanks!
Elliots answer worked! Thank for that, I really needed it.
I had this problem also on a Windows 10 machine, and Elliot's solution worked wonderfully.
Elliot Wolf solution worked for me! Thank you!
Unfortunatly Elliot Wolf solution doesn't work for me
I am having the same problem in R2018b on my windows device

Sign in to comment.

 Accepted Answer

StephenJ
StephenJ on 16 Jan 2017
I was having the exact same problem (2016b, OS Sierra), which appeared when I had entered full-screen mode while connected to projector. In MATLAB click on new app designer script or open existing mlapp file, icon should appear in the dock. Then Menu->Enter full screen, app designer will show up, if not, swipe on your trackpad until designer window pops out, then reset it by closing MATLAB Window from the top menu. Worked in my case. Btw I tried changing the matlabpref.mat as suggested by Sean, it did not work itself, but there still might be a correlation with my solution as I didn't change the setting back.

6 Comments

This fixed it. Thanks!
Had the problem with 2016b and El Capitan. This worked.
Had problem on Mac OS Sierra and R2016b. This fixes.
Where do you find "menu -> Enter full screen"
Monika Jaskolka
Monika Jaskolka on 10 Mar 2021
Edited: Monika Jaskolka on 10 Mar 2021
I had this issue on Windows 10. This answer worked for me.
I hovered over the problematic window in the dock, right-clicked on it, and selected Maximize.
Thank you so much ;-;

Sign in to comment.

More Answers (5)

Ron Fredericks
Ron Fredericks on 21 Mar 2022
Monika Jaskolka's comment within the question worked for me:
Windows 10:
  • Hover over the MATLAB icon in the task bar - wait for windows to show, including the missing app designer window,
  • Right-click on app designer window, and select Maximize.

5 Comments

I am experiencing the same issue detailed above. When I click on the icon in the dock, 'Maximize' isn't even an option. This is what I see:
Claudio Piguet
Claudio Piguet on 28 Jul 2022
Edited: Claudio Piguet on 28 Jul 2022
@Patrick do not click on the icon but on the preview window which appears when hovering over the icon. This is a really annoying issue. Btw. if you maximize the window and then drag and drop the window bar (at the top) the issue is fixed for a while.
Nothing happens when I click on the preview window. The app is open, but off the screen so I can't even drag it
I found that deleted the MATLAB preferences folder resets everything and it works properly now.
thank for this answer

Sign in to comment.

Xulai Xu
Xulai Xu on 26 Nov 2016
Someone please answer this I encountered the same problem. Tried everything, nothing worked
cd(prefdir)
load('matlabprefs.mat')
What are the settings in
Preferences.appdesigner
They should look something like this
ans =
struct with fields:
ShowIntroDialog: 0
Position: [1 1 112 0]
Maximized: 1
ShowCodeViewTips: 0
ShowCompatibilityDialog: 0
If not: Try, changing Maximized to true or Position to something like mine above, save back to matlabprefs.mat and restart MATLAB.

8 Comments

Sean, if I set 'Maximised' to 1 and then try to call appdesigner it opens fine. However this change doesn't persist if I restart Matlab, even if I save the changes to the preferences mat file
Sean, I altered my position and maximized settings as you per your example, I was still unable to open App Designer.
The correct answer, at least what worked for me, is a combination of Sean's and StephenJ's answer.
First, do what StephenJ says and get the correct Position from the Preferences.appdesigner struct. Then, use this position in the old matlab's prefdir.
The Position=[1 1 112 0] didn't work for me.
I can't get appdesigner to start at all. I type 'appdesigner' and nothing at all happens -- I just get another command prompt. No windows appear, neither maximized nor minimized. Same when I choose Home->New->App in the ribbon (perhaps this is just like typing appdesigner). I'm using R2019b in Win10 Pro.
I tried Elliot's solution -- moving C:\Users\<myname>\AppData\Roaming\MathWorks\MATLAB\R2019b to R2019b_old, re-creating the directory, and restarting -- but that didn't change anything. If I try
cd(prefdir); load('matlabprefs.mat'); Preferences.appdesigner
then I just get an error, "Reference to non-existent field 'appdesigner'." My Preferences struct has only one field, MATLABZoom, perhaps because I've never successfully started appdesigner.
Suggestions?
Did you solve your problem ? I have exactly the same
% My solution for a similar issue:
opengl('save', 'hardwarebasic')
Different ways to handle this issue:
  • Update Windows 10 version
  • Update graphics driver
>> cd(prefdir)
load('matlabprefs.mat')
>> Preferences.appdesigner
Unrecognized field name "appdesigner"
I have the same issue of blank screen on startup

Sign in to comment.

Shehzad Ahmed
Shehzad Ahmed on 3 Jun 2022
hello,
my appdesigner is not working anymore. I need help for my projekt.
I keep getting this error-code.
please Help.
Ich brauche Hilfe beim Öfnnen des AppDesigners.
dieser Fehler wird mir immer angezeigt.
ed
ed on 10 Dec 2025
It turns out that if the monitor is turned Off,
then the graphics for MatLab Editor and AppDesigner
do not function. The graphics for the main Matlab
screen does function. Also, the graphics for an
AppDesigner application do not function, all with
with basically no messaging that "Monitor not detected".
Thus, particularly and especially if someone is logged
in to the computer remotely, then someone should
assure that the video monitor is switched On, or
a dummy monitor(no screen) is plugged in.
Best Regards.

Categories

Asked:

on 25 Nov 2016

Answered:

ed
on 10 Dec 2025

Community Treasure Hunt

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

Start Hunting!