Error using uiopen (line 167)

1 回表示 (過去 30 日間)
Ioannis
Ioannis 2014 年 5 月 27 日
コメント済み: Walter Roberson 2016 年 10 月 31 日
Hello,
I recently installed R2013b. Ever since I get the following error (see image). This happens whichever way I try to open the file (while matlab is off, within matlab, even typing edit won't work). Another thing I tried, I opened a script with notepadc++, copy-pasted to a new script in matlab, everything runs properly, save it, close it, reopen it and still get the error. Do you have any clue how can I get rid of this nuisance?
Thank you
  1 件のコメント
Ioannis
Ioannis 2014 年 5 月 28 日
I reinstalled the program but the error is still there

サインインしてコメントする。

採用された回答

Image Analyst
Image Analyst 2014 年 5 月 28 日
Do you have a space in your m-file's name? Can you paste line 167 here or attach your m and fig files?
  4 件のコメント
Ioannis
Ioannis 2014 年 6 月 24 日
Thanks, that's what I do now. I basically reinstalled it and still get the error but at least it works opening files by typing ''edit'' now so I can do my job.
Yiannis
Image Analyst
Image Analyst 2014 年 6 月 24 日
If you want more advice, please give your new line 167 that shows how you are doing it now and still getting a warning/error.

サインインしてコメントする。

その他の回答 (2 件)

Floep
Floep 2016 年 10 月 31 日
Hello Yiannis,
I had the same Problem that is shown by the Error-Dialog. The error affected both, the open('...') command as well as the double-click uiopen(). The problem was caused by an *.slx file in the current working directory. The file's name was open.slx and shadowed the internal open-function open() and as it is used as a subroutine of uiopen (guess so) also caused problems with uiopen(). Deleting the file and restarting Matlab (do not know why this is necessary, but deleting only did not help) fixed the problem.
Best regards, Philipp
  2 件のコメント
Image Analyst
Image Analyst 2016 年 10 月 31 日
What are .SLX files? Are they executable files like m-files and p-files?
Walter Roberson
Walter Roberson 2016 年 10 月 31 日
.slx files are Simulink models. They are considered executable. They are #3 in the priority list; see https://www.mathworks.com/help/matlab/matlab_prog/function-precedence-order.html

サインインしてコメントする。


Ioannis
Ioannis 2014 年 6 月 24 日
Ehmm, this might be my fault of describing the problem in the first place. You see, I was opening my m-files by double clicking the relative file I wanted to work on. uiopen is apparently used by matlab to open the file for me and this is what was giving me the error once I shifted to R2013b. It would tell me that the file is not there, which is not the case. After I cleaned and reinstalled it I still get the same error when I double click on an file but at least I can type 'edit myfile' which works fine. I have no idea how to fix this though. Sorry for the initial explanation.
Yiannis

カテゴリ

Help Center および File ExchangeEnvironment and Settings についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by