Matlab R2008a crashes when using Plot on MacBook Pro
2012-04-16 02:38
190 查看
http://www.mathworks.com/support/solutions/en/data/1-F37IJB/
================================================
<Step 1>:
Close MATLAB, if there is any session open.
<Step2>:
Locate the file, 'matlab7rc.sh' as follows:
In Mac Terminal or (X11) xterm , type:
in which $MATLABROOT is the output of "matlabroot" from the MATLAB command prompt.
For example, for MATLAB R2008a:
<Step3>:
Open the matlabrc.sh file in the editor to replace a line as follows:
1. Navigate to Line 410 to locate:
DYLD_LIBRARY_PATH=
This line is a part of the following code in the "mac" section of matlab7rc.sh:
2. Change the 4th line in the code mentioned above from
<Step 4>:
For users on MATLAB R2008a, directly go to Step 5.
For users on MATLAB R2007a and R2007b, after making the change in the "mac" section, make the same change the "maci" section. This section is right below the "mac" section.
<Step 5>:
Save the changes by pressing "Command" + "s" keys.
<Step 6>:
Restart MATLAB.
================================================
================================================
<Step 1>:
Close MATLAB, if there is any session open.
<Step2>:
Locate the file, 'matlab7rc.sh' as follows:
In Mac Terminal or (X11) xterm , type:
open -a TextEdit $MATLABROOT/bin/.matlab7rc.sh
in which $MATLABROOT is the output of "matlabroot" from the MATLAB command prompt.
For example, for MATLAB R2008a:
open -a TextEdit /Applications/MATLAB_R2008a/bin/.matlab7rc.sh
<Step3>:
Open the matlabrc.sh file in the editor to replace a line as follows:
1. Navigate to Line 410 to locate:
DYLD_LIBRARY_PATH=
This line is a part of the following code in the "mac" section of matlab7rc.sh:
if [ "$DYLD_LIBRARY_PATH" != "" ]; then DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH else DYLD_LIBRARY_PATH= fi
2. Change the 4th line in the code mentioned above from
DYLD_LIBRARY_PATH=to
DYLD_LIBRARY_PATH=/System/Library/Frameworks/JavaVM.framework/Libraries
<Step 4>:
For users on MATLAB R2008a, directly go to Step 5.
For users on MATLAB R2007a and R2007b, after making the change in the "mac" section, make the same change the "maci" section. This section is right below the "mac" section.
<Step 5>:
Save the changes by pressing "Command" + "s" keys.
<Step 6>:
Restart MATLAB.
================================================
相关文章推荐
- 数学建模常用Matlab/Lingo/c代码总结系列——参数估计
- matlab中find函数简介
- 可用的Visual Studio 2013和Matlab破解地址
- 函数极限limit [matlab]
- Matlab实现FFT变换
- 第一章、MATLAB运行环境
- 【工具使用系列】关于 MATLAB Simulink 物理建模,你需要知道的事
- 数字语音--Matlab(转)
- MATLAB函数大全
- Matlab图像处理学习笔记(六):基于sift特征点的人民币识别
- [转] Matlab与C++混合编程(依赖OpenCV)
- matlab 实现数字图像的傅立叶变换及滤波锐化
- [matlab]一道笔试题
- matlab中的fix,round,floor,ceil的区别与涵义
- matlab之矩阵分解
- 卡尔曼滤波简介及其算法实现代码(C++/C/MATLAB)
- matlab读三维txt数据并绘图
- 【转】取模(mod)与取余(rem)的区别——Matlab学习笔记
- 使用RTL-SDR和Matlab Simulink玩转软件无线电(二十一)