Error using uiopen (line 167)
조회 수: 9 (최근 30일)
이전 댓글 표시
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

채택된 답변
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
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
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
2016년 10월 31일
What are .SLX files? Are they executable files like m-files and p-files?
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
참고 항목
카테고리
Help Center 및 File Exchange에서 Environment and Settings에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!