个人工具
登录
查看“MATLAB”的源代码 - Ubuntu中文
页面
讨论
查看源代码
历史
搜索
导航
首页
最近更改
随机页面
页面分类
帮助
编辑
编辑指南
沙盒
新闻动态
字词处理
工具
链入页面
相关更改
特殊页面
页面信息
查看“MATLAB”的源代码
来自Ubuntu中文
←
MATLAB
跳转至:
导航
,
搜索
因为以下原因,你没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
=== 符号工具不工作 === To see if you're affected by this, either look at your MATLAB box and see if it says '''R13''', or run the command '''vpa(pi,64)'''. If it gives you the following error message <pre><nowiki> Unable to load mex file: /usr/local/matlab/toolbox/symbolic/maplemex.mexglx. /usr/local/matlab/bin/glnx86/libmaple.so: symbol errno, version GLIBC_2.0 not defined in file libc.so.6 with link time reference ??? Invalid MEX-file </nowiki></pre> You have the infamamously annoying NPTL bug. First, open up your text editor to the script which launches MATLAB. A good way to do that is <pre><nowiki> sudo gedit `which matlab` </nowiki></pre> Note the ` is not '. 找到不是'''#'''开头的第一行(大概在 136行左右)。 在这行前面加上一行代码: '''export LD_ASSUME_KERNEL=2.4.1''', 之后你的文件形式应该如下: <pre><nowiki> #<u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u><u></u>__ # export LD_ASSUME_KERNEL=2.4.1 arg0_=$0 # # Temporary file that hold MATLABPATH code from .matlab6rc.sh file. # temp_file=/tmp/$$a # trap "rm -f $temp_file; exit 1" 1 2 3 </nowiki></pre> 保存并关闭编辑器, 再尝试一次前面的操作。 If you want to double check that it worked, at the MATLAB command prompt run '''getenv('LD_ASSUME_KERNEL')''', if it says 2.4.1 you're set.
返回至
MATLAB
。