winopen error when trying to open a directory

조회 수: 9 (최근 30일)
Yuval Weissler
Yuval Weissler 2016년 3월 10일
답변: Yuval Weissler 2016년 3월 13일
I tend to use the winopen function alot, to open files with their default program, or directories locations with windows explorer.
I've recently replaced my PC with a laptop (both were 64bit), and all of the sudden, winopen stopped working when trying to open a directory. The following exception is thrown: The file name association is incomplete or invalid (from win_open_mex).
It's important to emphasize that my code hasn't changed, and it's worked before. Also, when trying a Matlab example: winopen(which('meshgrid')), the function works.
Please help :)

답변 (2개)

Jan
Jan 2016년 3월 10일
The error message sounds, like you try to open a file but do not associated it with a program. Please post the failing command and not only the working code.
  댓글 수: 3
Jan
Jan 2016년 3월 10일
An what is the answer of "pwd"? Perhaps you've defined this accidently as a variable before?
Yuval Weissler
Yuval Weissler 2016년 3월 11일
No, it's legit. Also, like I've said, it's an example. No directory opens, and code that once worked and hasn't changed, now stopped working.
My guess is that the problem is outside Matlab, but I don'n know what.

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


Yuval Weissler
Yuval Weissler 2016년 3월 13일
Any1?

카테고리

Help CenterFile Exchange에서 Environment and Settings에 대해 자세히 알아보기

태그

아직 태그를 입력하지 않았습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by