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 comentarios

Cristian Velasquez
Cristian Velasquez el 25 de Nov. de 2016
Editada: Cristian Velasquez el 25 de Nov. de 2016
Did you solve this?
Walter Roberson
Walter Roberson el 26 de Nov. de 2016
Data point: it seems to work for me in OS-X Sierra with R2016b
Chris Portal
Chris Portal el 27 de Nov. de 2016
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?
Owen Gebler
Owen Gebler el 27 de Nov. de 2016
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.
Joshua Welsh
Joshua Welsh el 27 de Nov. de 2016
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.
Walter Roberson
Walter Roberson el 27 de Nov. de 2016
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?
Owen Gebler
Owen Gebler el 28 de Nov. de 2016
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 el 28 de Dic. de 2016
Editada: Walter Roberson el 21 de Jul. de 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!
Till Späth
Till Späth el 9 de En. de 2017
I am having the same problem and need a solution urgently, did someone find out about it?
Walter Roberson
Walter Roberson el 9 de En. de 2017
Elliot Wolf's solution looks promising.
Sean de Wolski
Sean de Wolski el 10 de En. de 2017
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.
Deandra  Dsouza
Deandra Dsouza el 1 de Abr. de 2017
I had a similar problem as well and followed Elliot Wolf's solution. It worked! Thanks!
Daan Decleer
Daan Decleer el 30 de Abr. de 2017
Elliots answer worked! Thank for that, I really needed it.
Frederick Brooks
Frederick Brooks el 21 de Jul. de 2017
I had this problem also on a Windows 10 machine, and Elliot's solution worked wonderfully.
Jacopo Elia
Jacopo Elia el 29 de Mzo. de 2018
Elliot Wolf solution worked for me! Thank you!
Muhammad Asif
Muhammad Asif el 20 de Abr. de 2020
Unfortunatly Elliot Wolf solution doesn't work for me
Kajal Srivastava
Kajal Srivastava el 12 de Mayo de 2020
I am having the same problem in R2018b on my windows device

Iniciar sesión para comentar.

 Respuesta aceptada

StephenJ
StephenJ el 16 de En. de 2017

2 votos

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 comentarios

Joshua Welsh
Joshua Welsh el 17 de En. de 2017
This fixed it. Thanks!
Neil
Neil el 26 de En. de 2017
Had the problem with 2016b and El Capitan. This worked.
Oleg Komarov
Oleg Komarov el 8 de Ag. de 2017
Had problem on Mac OS Sierra and R2016b. This fixes.
Grace Enamorado
Grace Enamorado el 18 de Abr. de 2019
Where do you find "menu -> Enter full screen"
Monika Jaskolka
Monika Jaskolka el 10 de Mzo. de 2021
Editada: Monika Jaskolka el 10 de Mzo. de 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.
pacman
pacman el 6 de Mayo de 2022
Thank you so much ;-;

Iniciar sesión para comentar.

Más respuestas (5)

Ron Fredericks
Ron Fredericks el 21 de Mzo. de 2022

18 votos

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 comentarios

Patrick
Patrick el 8 de Jun. de 2022
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 el 28 de Jul. de 2022
Editada: Claudio Piguet el 28 de Jul. de 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.
Patrick
Patrick el 28 de Jul. de 2022
Nothing happens when I click on the preview window. The app is open, but off the screen so I can't even drag it
Patrick
Patrick el 28 de Jul. de 2022
I found that deleted the MATLAB preferences folder resets everything and it works properly now.
JEONGHUN IM
JEONGHUN IM el 20 de Nov. de 2022
thank for this answer

Iniciar sesión para comentar.

Xulai Xu
Xulai Xu el 26 de Nov. de 2016

1 voto

Someone please answer this I encountered the same problem. Tried everything, nothing worked
Sean de Wolski
Sean de Wolski el 28 de Nov. de 2016
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 comentarios

Owen Gebler
Owen Gebler el 28 de Nov. de 2016
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
Joshua Welsh
Joshua Welsh el 3 de Dic. de 2016
Sean, I altered my position and maximized settings as you per your example, I was still unable to open App Designer.
George A.
George A. el 2 de Abr. de 2017
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?
Thomas Hermelin
Thomas Hermelin el 21 de Mayo de 2021
Did you solve your problem ? I have exactly the same
% My solution for a similar issue:
opengl('save', 'hardwarebasic')
Eric Delgado
Eric Delgado el 6 de Ag. de 2021
Different ways to handle this issue:
  • Update Windows 10 version
  • Update graphics driver
Alexander
Alexander el 26 de Mzo. de 2023
>> cd(prefdir)
load('matlabprefs.mat')
>> Preferences.appdesigner
Unrecognized field name "appdesigner"
I have the same issue of blank screen on startup

Iniciar sesión para comentar.

Shehzad Ahmed
Shehzad Ahmed el 3 de Jun. de 2022

0 votos

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 el 10 de Dic. de 2025

0 votos

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.

Categorías

Más información sobre Startup and Shutdown en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 25 de Nov. de 2016

Respondida:

ed
el 10 de Dic. de 2025

Community Treasure Hunt

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

Start Hunting!

Translated by