I've uploaded an image to do the talking for me :)
How can I solve this?
EDIT: It might be helpful to point out that my problem has start with winopen not opening folders, and after some googling I've arrived at this error message I've posted.
Also, I've already tried to play all kinds of permissions, and nothing worked so far.
Lastly, this problem started after I've replaced my computer with a laptop. Both run Windows 7, both are 64 bit, and both run the same Matlab version (2013a), but for some reason, the laptop gives this error (and in case anyone is wondering, my code is 100% 'correct', because it worked on the PC (and other PCs for that matter) and has not changed ever since).

답변 (2개)

Image Analyst
Image Analyst 2016년 3월 20일

0 개 추천

It worked for me (R2015b and Windows 10).
Perhaps you want to call winopen to the folder you want:
folder = 'C:\whatever';
winopen(folder);
Does that work?

댓글 수: 2

Yuval Weissler
Yuval Weissler 2016년 3월 20일
Nope. Actually, my problem start with winopen not opening folders, and I've arrived at this error message I've posted.
Image Analyst
Image Analyst 2016년 3월 20일
If you run explorer from a command console window, or an icon, what folder does it open up to?

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

Jan
Jan 2016년 3월 20일

0 개 추천

It seems like the startup folder of the Explorer contains an invalid path. Try to set the path manually:
!c:\windows\explorer.exe /n,/e,c:\
Does this work?
Then check the default folder:
Perform a shift-right-click on the explorer icon in the task bar. Open the "Properties" tab and adjust the "Target", e.g. to "%windir%\explorer.exe /e,D:\". See also: http://www.howtogeek.com/howto/17415/set-the-windows-explorer-startup-folder-in-windows-7
Note that this is a problem of the operating system, not of Matlab. Therefore it is off-topic in this forum.

댓글 수: 7

Yuval Weissler
Yuval Weissler 2016년 3월 21일
I will try and update. I'm aware that this is not strictly a Matlab problem, but since it's putting a damper on my capabilities to work with Matlab (and btw, I didn't experience any other non-related problems that might have something to do with this permission thing), I therefor consider it to be a Matlab problem. Your understanding is appreciated :)
Yuval Weissler
Yuval Weissler 2016년 3월 22일
Still nothing :(
Image Analyst
Image Analyst 2016년 3월 22일
Then call tech support.
Jan
Jan 2016년 3월 22일
편집: Jan 2016년 3월 23일
Please explain "nothing" with any details. What happens if you run
!c:\windows\explorer.exe /n,/e,c:\
And if you assume, that this is a Matlab problem, try it from the commandwindow of the operating system: Open the cmd window and type:
c:\windows\explorer.exe /n,/e,c:\
What happens? Do you have the permissions to display C:\ ? Can you see it in the Windows Explorer?
Yuval Weissler
Yuval Weissler 2016년 3월 23일
Jan, when trying: !c:\windows\explorer.exe /n,/e,c:\ -- literally nothing happens.
When trying c:\windows\explorer.exe /n,/e,c:\ in the cmd terminal, explorer open the C:\ directory.
Image Analyst
Image Analyst 2016년 3월 24일
It worked for me, sooooooooooooooooo we're back to calling tech support, like I suggested. What happened when you called them today? Did they help you?
Yuval Weissler
Yuval Weissler 2016년 3월 24일
I know it works on other computers, and I know it's probably a 'windows problem', but I can't find a way to fix it, and in the meantime it's only affecting my Matlab working capabilities.
I was hoping that someone around here had encountered this problem before, that's all :)
Tech support didn't respond for some time now (and yes, I have a confirmation mail that my question was filed successfully).

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

카테고리

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

제품

질문:

2016년 3월 20일

댓글:

2016년 3월 24일

Community Treasure Hunt

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

Start Hunting!

Translated by