我一直在使用fedora 20中的matlab,我的筆記本電腦沒有進入睡眠模式,但我的筆記本電腦意外關閉,之後沒有運行。我通常使用 cd /usr/local/MATLAB/R2012a/bin然後./matlab無法在fedora 20中使用終端打開MATLAB
我也嘗試過殺死進程ID。但即使如此,matlab無法正常工作。請幫忙。現在我該怎麼做?
我一直在使用fedora 20中的matlab,我的筆記本電腦沒有進入睡眠模式,但我的筆記本電腦意外關閉,之後沒有運行。我通常使用 cd /usr/local/MATLAB/R2012a/bin然後./matlab無法在fedora 20中使用終端打開MATLAB
我也嘗試過殺死進程ID。但即使如此,matlab無法正常工作。請幫忙。現在我該怎麼做?
試一下這個步驟:
If you are having trouble starting MATLAB on a UNIX-based system and you are not receiving license manager related errors, your start up problems may be resolved by performing the following steps:
Step #1:
=========
Remove your preferences directory, so that it can be recreated cleanly:
1. Open the Terminal Application (usually found in Applications or Utilities).
2. In the terminal window and run the following commands:
cd ~/.matlab
3. Once in the .matlab folder, delete the folder for the version of MATLAB you have. For example, if you have R2008a, run the command:
rm -rf R2008a
4. Once cleared, restart MATLAB. The preferences should be recreated.
If the above solution does not help, run the step below and contact MathWorks Technical Support if the steps fail:
Step #2:
=========
Try running MATLAB with SELinux disabled. SELinux may prevent MATLAB from starting. To temporarily disable it, run the following command as root:
/usr/sbin/setenforce 0
(/usr/sbin/setenforce 1 will turn SELinux back on)
Once disabled, try MATLAB again. If it works, see the Related Solution at the bottom of the page:
"Why do I receive errors relating to the file "libmwlapack" when starting MATLAB
R14SP3 or higher on Linux?"
Step #3:
=========
If you see an error about "Locking assertion failure" or the error:
MATLAB: xcb_xlib.c:52: xcb_xlib_unlock:Assertion `c->xlib.lock' failed.
Abort
a Java bug may be causing the issue. In that case see the Bug Report here:
http://www.mathworks.com/support/bugreports/details.html?rp=460827
Step #4:
=========
Open MATLAB with the Desktop and Java options Disabled:
1. From the terminal, type the following:
cd $MATLABROOT/bin/ (Where $MATLABROOT is the path to your root MATLAB directory)
Note: for example cd /usr/local/MATLAB72/bin/
2. Type ./matlab -nodesktop
3. If MATLAB starts using the -nodesktop flag, type "desktop" in the MATLAB command window and send me the output.
If MATLAB will not start in the -nodesktop mode, try the following:
1. From the terminal, type the following:
cd $MATLABROOT/bin/ (Where $MATLABROOT is the path to your root MATLAB directory)
Note: for example cd /usr/local/MATLAB72/bin/
2. Type ./matlab -nojvm
3. Let me know if MATLAB starts in this mode.
Step #5:
========
If the above solutions do not work, be sure that there are no files conflicting on your MATLAB path. To verify that your work files and/or startup.m files are not conflicting with this MATLAB installation, perform the following steps:
1. Create folder called /usr/local/MATLAB_work/
2. Move all of your work files (from the folder $MATLABROOT/work/) into this new folder.
3. Start MATLAB again to see if the problem still occurs.
4. If this resolves the problem, one of your work files is likely conflicting with your MATLAB installation.
You must make sure none of your work files have the same name as an existing MATLAB function. You will need to determine which files cause this error before moving your work files back into your MATLAB directory.
嘗試重新啓動計算機.. – lakesh 2014-10-01 10:17:19
我已嘗試..仍然沒有工作.. – charvi 2014-10-01 11:11:04
OK你可以停止的尖叫 – rayryeng 2014-10-15 20:46:30