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

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

댓글을 달려면 로그인하십시오.

 채택된 답변

StephenJ
StephenJ 2017년 1월 16일

2 개 추천

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

Joshua Welsh
Joshua Welsh 2017년 1월 17일
This fixed it. Thanks!
Neil
Neil 2017년 1월 26일
Had the problem with 2016b and El Capitan. This worked.
Oleg Komarov
Oleg Komarov 2017년 8월 8일
Had problem on Mac OS Sierra and R2016b. This fixes.
Grace Enamorado
Grace Enamorado 2019년 4월 18일
Where do you find "menu -> Enter full screen"
Monika Jaskolka
Monika Jaskolka 2021년 3월 10일
편집: Monika Jaskolka 2021년 3월 10일
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 2022년 5월 6일
Thank you so much ;-;

댓글을 달려면 로그인하십시오.

추가 답변 (5개)

Ron Fredericks
Ron Fredericks 2022년 3월 21일

18 개 추천

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

Patrick
Patrick 2022년 6월 8일
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 2022년 7월 28일
편집: Claudio Piguet 2022년 7월 28일
@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 2022년 7월 28일
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 2022년 7월 28일
I found that deleted the MATLAB preferences folder resets everything and it works properly now.
JEONGHUN IM
JEONGHUN IM 2022년 11월 20일
thank for this answer

댓글을 달려면 로그인하십시오.

Xulai Xu
Xulai Xu 2016년 11월 26일

1 개 추천

Someone please answer this I encountered the same problem. Tried everything, nothing worked
Sean de Wolski
Sean de Wolski 2016년 11월 28일

1 개 추천

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

Owen Gebler
Owen Gebler 2016년 11월 28일
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 2016년 12월 3일
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. 2017년 4월 2일
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 2021년 5월 21일
Did you solve your problem ? I have exactly the same
% My solution for a similar issue:
opengl('save', 'hardwarebasic')
Eric Delgado
Eric Delgado 2021년 8월 6일
Different ways to handle this issue:
  • Update Windows 10 version
  • Update graphics driver
Alexander
Alexander 2023년 3월 26일
>> cd(prefdir)
load('matlabprefs.mat')
>> Preferences.appdesigner
Unrecognized field name "appdesigner"
I have the same issue of blank screen on startup

댓글을 달려면 로그인하십시오.

Shehzad Ahmed
Shehzad Ahmed 2022년 6월 3일

0 개 추천

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 2025년 12월 10일

0 개 추천

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.

카테고리

도움말 센터File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

태그

질문:

2016년 11월 25일

답변:

ed
2025년 12월 10일

Community Treasure Hunt

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

Start Hunting!

Translated by