求助:matlab问题,安装后不能运行

OOo,TeX,KO,ABI,GIMP,Picasa,ProE,QCAD,Inkscape,Kicad,Eagle
回复
shepx
帖子: 42
注册时间: 2006-10-31 9:46

求助:matlab问题,安装后不能运行

#1

帖子 shepx » 2007-07-19 16:29

我是Ubuntu 7.04,Matlab是下的iso文件,不是用的ubuntu的包装的。安装的时候一切都好。
运行 ~$ matlab -desktop 就卡死不动了,logo一直在那里。
运行 ~$ matlab -nodesktop 就出现下面的错误信息,但不不能用。
请问这是什么问题啊?

< M A T L A B >
Copyright 1984-2005 The MathWorks, Inc.
Version 7.0.4.352 (R14) Service Pack 2
January 29, 2005

Undefined function or variable "ispc".
Warning: MATLAB did not appear to successfully set the search path. To avoid this
warning the next time you start MATLAB, use
http://www.mathworks.com/access/helpdes ... hdef.shtml
to help troubleshoot the "pathdef.m" file. To recover for this session
of MATLAB, type "restoredefaultpath;matlabrc".
??? Undefined command/function 'colordef'.

Error in ==> hgrc at 59
colordef(0,'white') % Set up for white defaults

Error in ==> matlabrc at 91
hgrc

按上面说的运行
>>restoredefaultpath;matlabrc
Warning: Duplicate directory name: /opt/matlab/toolbox/stateflow/stateflow.
> In restoredefaultpath at 50
Warning: Duplicate directory name: /opt/matlab/toolbox/rtw/rtw.
> In restoredefaultpath at 50
Warning: Duplicate directory name: /opt/matlab.
> In restoredefaultpath at 50
Warning: Duplicate directory name: /opt/matlab.
> In restoredefaultpath at 50
Warning: Duplicate directory name: /opt/matlab.
> In restoredefaultpath at 50
Warning: Duplicate directory name: /opt/matlab.
> In restoredefaultpath at 50
Warning: Duplicate directory name: /opt/matlab/toolbox/shared/optimlib.
> In restoredefaultpath at 50
Warning: Duplicate directory name: /opt/matlab/toolbox/shared/optimlib.
> In restoredefaultpath at 50
Warning: Duplicate directory name: /opt/matlab/toolbox/shared/optimlib.
> In restoredefaultpath at 50
??? Undefined function or variable 'matlabrc'.
shepx
帖子: 42
注册时间: 2006-10-31 9:46

#2

帖子 shepx » 2007-07-19 16:32

以为是jvm的问题,下了新的jre
修改了$MATLAB/bin/下 matlab 文件,在最后加上了新的jre地址
问题依旧
tomguy
帖子: 702
注册时间: 2005-09-27 10:32

#3

帖子 tomguy » 2007-07-19 20:51

我装的是2007a,在驴子上找来的,TLF出品,大概3G。

安装后,再装最新的java1.6,就可以运行了。
xbear
帖子: 105
注册时间: 2007-05-14 0:10

#4

帖子 xbear » 2007-07-21 11:24

有没有人解决了这个问题呀??我也是这样呀。
xbear
帖子: 105
注册时间: 2007-05-14 0:10

#5

帖子 xbear » 2007-07-21 11:25

我装的也是java1.6,路径也改好,可是Matlab就是不能用呀。
tjpm
帖子: 38
注册时间: 2007-05-27 14:21

#6

帖子 tjpm » 2007-07-21 23:31

tomguy 写了:我装的是2007a,在驴子上找来的,TLF出品,大概3G。

安装后,再装最新的java1.6,就可以运行了。
你安的2007a的simulink能用么?
头像
getbaseclass
帖子: 7
注册时间: 2007-08-07 18:58
来自: 湖北武汉

#7

帖子 getbaseclass » 2007-08-21 13:09

哎呀,我也是1楼问题
另外还有:

代码: 全选

The following messages were written to standard error
    while running 'xsetup' the X Window System version
    of 'install'.

        Error reading /mnt/update/pd/toolbox/matlab/b
        Error reading /mnt/update/pd/toolbox/matlab/glnx86/b
高人指点阿!拜谢了
shepx
帖子: 42
注册时间: 2006-10-31 9:46

#8

帖子 shepx » 2007-08-28 15:08

楼上的我安装也有,论坛FTP里的DVD版本能用吗?我装不上,license有问题。
头像
516079251
帖子: 23
注册时间: 2007-08-17 15:45

#9

帖子 516079251 » 2007-09-08 13:17

我的也是这样阿。在清华的ftp上下载的matlab7sp2。而且就在他那里下的license文件同样不能用。
报错和7楼一样

The following messages were written to standard error
while running 'xsetup' the X Window System version
of 'install'.

Error reading /mnt/update/pd/toolbox/matlab/b
Error reading /mnt/update/pd/toolbox/matlab/glnx86/b
tomguy
帖子: 702
注册时间: 2005-09-27 10:32

#10

帖子 tomguy » 2007-09-10 1:33

tjpm 写了:
tomguy 写了:我装的是2007a,在驴子上找来的,TLF出品,大概3G。

安装后,再装最新的java1.6,就可以运行了。
你安的2007a的simulink能用么?
可以。
头像
qileilu
帖子: 375
注册时间: 2007-08-26 9:06
来自: 长沙
联系:

#11

帖子 qileilu » 2008-02-27 20:01

我的也是这样 的 ,怎么解决啊 ?
aBiNg
帖子: 1331
注册时间: 2006-07-09 12:22
来自: 南京

#12

帖子 aBiNg » 2008-02-28 13:17

shepx 写了:以为是jvm的问题,下了新的jre
修改了$MATLAB/bin/下 matlab 文件,在最后加上了新的jre地址
问题依旧
jre地址不是写在最后的,查找一下调用这个被赋值的变量的语句,在它之前加入jre地址。试试。

另:命令行运行matlab,不必加参数。
头像
qileilu
帖子: 375
注册时间: 2007-08-26 9:06
来自: 长沙
联系:

#13

帖子 qileilu » 2008-03-02 20:01

aBiNg 写了: jre地址不是写在最后的,查找一下调用这个被赋值的变量的语句,在它之前加入jre地址。试试。

另:命令行运行matlab,不必加参数。
我试过了,还是不行,郁闷啊
chirst
帖子: 8
注册时间: 2007-11-07 14:25

#14

帖子 chirst » 2008-03-05 19:13

我的也用不成
aBiNg
帖子: 1331
注册时间: 2006-07-09 12:22
来自: 南京

#15

帖子 aBiNg » 2008-03-07 13:33

换个版本的,或者换个下载链接吧。

有些可能出现的问题,到matlab公司主页可查查,或许有用。
回复