MATLAB not starting anymore: MATLAB: No such file or directory

6 ビュー (過去 30 日間)
Felix
Felix 2012 年 7 月 12 日
Recently, when I try to start MATLAB (linux xa64), I just receive the error:
/home/felix/bin/matlab: line 1690:
/home/felix/programs/matlab2012a/bin/glnxa64/MATLAB: No such file or directory
However,
ls -l /home/felix/programs/matlab2012a/bin/glnxa64/ | grep MATLAB
outputs
-r-xr-xr-x 1 felix users 28816 Jan 21 22:54 MATLAB
so the file does actually exist! I don't know, where to start or what the problem is. Can anybody help me?
Cheers Felix
  1 件のコメント
Walter Roberson
Walter Roberson 2012 年 7 月 12 日
Watch out for unprintable characters in the name. For example if the file that is there was MATLAB<space> then you would have a problem.

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

回答 (1 件)

Jason Ross
Jason Ross 2012 年 7 月 12 日
I'm guessing that your home directory is on an NFS partition. Make sure that the mount is not hung/stale, and that files are actually there. It's possible that:
  • the automounter is somehow in a bad state
  • the NFS server is no longer available
  • your home directory was moved to a new file system, the mount has been updated, but your machine is still referencing the old inode
Solutions:
  • umount your home directory
  • restart the automounter
  • reboot your machine
Other things to check:
  • did you make changes to .cshrc, bashrc or files that do similar things? Specifically, I'd be looking for changes to the PATH.
  • did your organization make changes to these files? I'd look for changes to the PATH here again.
Other things to look at:
  • I'm assuming /home/felix/bin/matlab is a symlink to the actual matlab start commmand in /home/felix/programs/matlab2012a/bin/matlab. Did something change here? Or is it not a symlink, and a script that sets something up, then calls the regular matlab command?
  • What happens if you start /home/felix/programs/matlab2012a/bin/matlab?

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by