Matlab R2008a doesn't open files outside its path any more ?

1 次查看(过去 30 天)
Hi,
Everything was OK for months , but now I can't open or run any .m file with matlab except it exists in the same folder of matlab . This line is occurred in the command line of matlab .
assert/signal failures have occurred; MATLAB will abort in 10 seconds.
and theb this error message appears:
any help!
Thanks
  3 个评论
Image Analyst
Image Analyst 2012-10-29
Did you see where it says "Please contact the application's support team for more information." That would be the Mathworks. You can do that tomorrow morning, though since you're still running R2008a I would guess you probably aren't on a maintenance contract and so you don't have any support. If reinstalling doesn't fix it, then you may get to upgrade to R2012b. Well, you can't stay stuck in the past forever.

请先登录,再进行评论。

回答(4 个)

Sachin Ganjare
Sachin Ganjare 2012-10-29
Try to run matlab in admin mode, by right clicking matlab icon & selcting 'Run as administrator' button.
Hope it helps!!!
  1 个评论
Sachin Ganjare
Sachin Ganjare 2012-10-29
Another Solution:
1) FIRST RIGHT CLICK ON MATLAB ICON ON DESKTOP
2)GO TO PROPERTIES
3)THEN CLICK ON COMPATIBILITY OPTION
4)IN COMPATIBILITY MODE CLICK ON RUN THIS PROGRAM IN COMPATIBILITY MODE FOR
5)THEN SELECT YOUR WINDOWS VERSION (Eg.WINDOWS VISTA) FROM LIST OF OPTIONS.
6)CLICK APPLY N THEN OK.

请先登录,再进行评论。


Image Analyst
Image Analyst 2012-10-29
Try downloading and installing the Microsoft Visual C++ 2008 Redistributable Package (x86), available here.

aurora
aurora 2012-10-29
Thank you all , I tried SACHIN solution but it doesn't work . I want to remind that my version worked well for months, but now it only runs the .m files that exists in the matlab path and when I try to open an outer file from matlab this message occurs :

Sean de Wolski
Sean de Wolski 2012-10-29
Hi Aurora,
Can you restore your default path:
restoredefaultpath
rehash toolboxcache
cd(matlabroot)
Basically I want to remove everything from the path but the default folders. This will isolate if anything added to your path has caused whatever this behavior you are seeing is.
Alternatively, contact us!

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by