matlab 2015b 里面 集成 ROS
==================================
Linux下安装Matlab2014及破解
1 从http://pan.baidu.com/s/1o6qKdxo#path=%252Fmatlab 下载Matlab2014的Linux版本及破解文件
转存位置:http://yun.baidu.com/share/link?shareid=1936744708&uk=2987273317。
2 下载完成后将iso文件挂载到Linux
sudo mkdir /media/matlab
mount -o loop [path][filename].iso /media/matlab
cd /media/matlab
sudo ./install
进行安装
[ps:安装路径最好自己改到home文件夹下,不然后面会有权限问题]
第二次弹出安装脚本路径保留自带路径,要是不以脚本启动 运行会缺少一些库。
3 安装过程中使用readme.txt中的序列号
12345-67890-12345-67890 ( 20 digits Nothing special... you can use vvlmv's key if you like 12313-94680-65562-90832 )
4 破解
安装完成后使用crack下的 license进行激活
将crack文件夹下的libmwservices.so copy到 /usr/local/MATLAB/R2014A/bin/glnxa64
Linux Copy/overwrite libmwservices.so ( from the linux folder provided ) to : /usr/local/MATLAB/R2014A/bin/glnxa64.. ( or where ever you have installed MATLAB .. this path would be from Ubuntu for example) As you're using linux, I don't have to explain user owned files vs root owned files ... right ?
5 完成安装,命令行下使用sudo matlab即可启动使用
ps : ubuntu14.04 / 64位
装完最好设置下快捷键方式:
参考 http://blog.csdn.net/zyh821351004/article/details/45772345
默认不是windows下复制快捷键,为了使用习惯最好改下。
参考:http://blog.csdn.net/lanbing510/article/details/41698285
---------------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------------------------------
解决matlab不能显示中文的问题
sudo
cd
mkdir
cd
ln
mkfontdir
mkfontscale
在发布版本Linux上运行可能遇到的问题:
terminate called after throwing aninstance of 'std::runtime_error'
what():locale::facet::_S_create_c_locale name not valid
解决方法: 执行之前运行export LC_ALL="C"
Create A MATLAB Launcher
1. Get an icon:
sudo wget http://upload.wikimedia.org/wikipedia/commons/2/21/Matlab_Logo.png -O /usr/share/icons/matlab.png
2. Get the launcher file:
sudo wget 'https://help.ubuntu.com/community/MATLAB?action=AttachFile&do=get&target=matlab-r2012a.desktop' -O /usr/share/applications/matlab.desktop
3.修改快捷方式的属性为/usr/local/MATLAB/R2012a/bin/matlab -desktop
在/usr/share/applications/下找matlab.desktop 属性修改。
4. libc.so.6 not found
/usr/local/MATLAB/R2012a/bin/util/oscheck.sh: /lib64/libc.so.6: not found
or
/usr/local/MATLAB/R2012a/bin/util/oscheck.sh: /lib/libc.so.6: not found
when you launch MATLAB. R2012a is aimed at Ubuntu 10.04 for which libc.so.6 was located in /lib for 32 bits and in /lib64 for 64 bits. It are now both located in a different subdirectory of /lib. To help MATLAB find it, just make a symbolic link
For 64 bits users (that got the first error):
sudo ln -s /lib/x86_64-linux-gnu/libc.so.6 /lib64/libc.so.6
For 32 bits users (that got the second error):
sudo ln -s /lib/i386-linux-gnu/libc.so.6 /lib/libc.so.6