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).

Antworten (2)

Image Analyst
Image Analyst am 20 Mär. 2016

0 Stimmen

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 Kommentare

Yuval Weissler
Yuval Weissler am 20 Mär. 2016
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 am 20 Mär. 2016
If you run explorer from a command console window, or an icon, what folder does it open up to?

Melden Sie sich an, um zu kommentieren.

Jan
Jan am 20 Mär. 2016

0 Stimmen

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 Kommentare

Yuval Weissler
Yuval Weissler am 21 Mär. 2016
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 am 22 Mär. 2016
Still nothing :(
Image Analyst
Image Analyst am 22 Mär. 2016
Then call tech support.
Jan
Jan am 22 Mär. 2016
Bearbeitet: Jan am 23 Mär. 2016
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 am 23 Mär. 2016
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 am 24 Mär. 2016
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 am 24 Mär. 2016
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).

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Startup and Shutdown finden Sie in Hilfe-Center und File Exchange

Produkte

Gefragt:

am 20 Mär. 2016

Kommentiert:

am 24 Mär. 2016

Community Treasure Hunt

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

Start Hunting!

Translated by