Matlab on linux with SPM5

前几天接到的任务,是某医院的要求,要求我们这边作一下一些图像的处理工作,牵扯到一个叫SPM5的软件是University College of London做的,业界来说是比较不错的free软件。

SPM的Requirements是要求装Matlab官网上说

You need the following to run SPM5:

MATLAB 6.5 - MATLAB 7.3

可怜我的实验室的硬盘空间实在吃紧,就决定在中心的工作站(linux)上装一下Matlab

去down了Matlab7R14的盘3张ISO。然后Upload到工作站上,然后很自然的用root帐户mount

It's easy

type #./install

发现Matlab不允许在mount的地方运行install

so change to another dir

type # /mnt/cdrom/install

there is an error

cp: cannot stat `/devel/Arel/R14n/cdimages/unix/cdrom1/update/bin/glnxa64/*': No
such file or directory
Error writing to /tmp/31122tmwinstall
The installer is unable to copy files to /tmp.
Make sure that /tmp exists, is writable, and has
at least 5 megabytes of available space.


郁闷。。。可能是工作站是64bits的
google之

get some solutions

In order to install 32-bit MATLAB on a 64-bit Linux machine running Linux, it is necessary to use one of the following workarounds:

1) Download the products from our downloads site at the following URL:

http://www.mathworks.com/web_downloads/

Once downloaded, start the installation script as follows:


./install -glnx86

2) If it is necessary to install from CD, run the installer as follows:


./install -glnx86 -nocp

If installing products from multiple CD's, it will be necessary to stop the installation process after each CD by clicking the "Skip CD X" button (where X is the next CD number). This process will then need to be repeat for each of the CD's.

3) Copy all 3 CD's into a single directory on your local hard drive and then run the installer with the -glnx86 and -nocp flags. Note some files will be overwritten during this process.

Once the installation procedure is complete, the Flexlm License Manager will have to be properly configured. To do this, go to the MATLAB root directory and run the following command:


./install_matlab 4 -glnx86

NOTE: The -glnx86 flag is required for all license manager scripts (lmstart, lmdown, lmstat, etc...) as well as for starting MATLAB.

我用了第二种
# /mnt/cdrom/install -glnx86 -nocp

顺利安装
=============================================================================================

Matlab 装好了,但是怎么运行SPM,我一开始也不知道

于是又查了一点资料(其实就是google)

终于可以运行了




我还不会用,毕竟我不是学医的,瓦卡卡

当然,我接下来要用的功能只是fMRI



关于fMRI其实我也不懂,中文的翻译我觉得应该是功能性磁共振图形(Functional magnetic resonance imaging)

在wiki上有比较详细的描述

http://en.wikipedia.org/wiki/Functional_magnetic_resonance_imaging

早上随便浏览了一下,稍微知道了一点概念。

同时还找到一个网站也蛮好的,先留着,以后可能会有用(感觉像是官网-。-)

http://www.fmri.org/fmri.htm

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值