winopen error when trying to open a directory

5 visualizzazioni (ultimi 30 giorni)
Yuval Weissler
Yuval Weissler il 10 Mar 2016
Risposto: Yuval Weissler il 13 Mar 2016
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 :)

Risposte (2)

Jan
Jan il 10 Mar 2016
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 Commenti
Jan
Jan il 10 Mar 2016
An what is the answer of "pwd"? Perhaps you've defined this accidently as a variable before?
Yuval Weissler
Yuval Weissler il 11 Mar 2016
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.

Accedi per commentare.


Yuval Weissler
Yuval Weissler il 13 Mar 2016
Any1?

Categorie

Scopri di più su Environment and Settings in Help Center e File Exchange

Tag

Non è stata ancora inserito alcun tag.

Community Treasure Hunt

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

Start Hunting!

Translated by