R14版matlab安装全程及各种问题解决(持续进行中)

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
头像
zhuqin_83
帖子: 10606
注册时间: 2006-05-13 4:02
联系:

#16

帖子 zhuqin_83 » 2007-02-09 15:15

受不了你哎,就不能好好看readme么?随便哪个license都可以用的。重命名总是会的吧?
而且不需要license.lic。
HP Pavilion DV6-2064CA: AMD Turion II Ultra Dual-Core Mobile M640, HD4650, 2GBx2 DDR2-800, Seagate 500GB 7200RPM SATA, BD-ROM
DELL UltraSharp 2209WA
Arch64, Testing repo
i3oson
帖子: 8
注册时间: 2006-06-06 23:52

#17

帖子 i3oson » 2007-02-09 21:51

谢谢楼上的提醒,我是应该认真的看readme

:D ,谢谢了
jasper
帖子: 50
注册时间: 2007-02-04 19:39
来自: Delft, The Netherlands

#18

帖子 jasper » 2007-02-15 1:17

我每次启动matlab r2006b 只进行一个操作就crash 退出了

这是crash dump log, 哪位高手帮我分析一下 是为什么 怎么解决 谢谢了!


------------------------------------------------------------------------
Segmentation violation detected at Wed Feb 14 17:51:55 2007
------------------------------------------------------------------------

Configuration:
MATLAB Version: 7.3.0.298 (R2006b)
MATLAB License: 329138
Operating System: Linux 2.6.17-11-generic #2 SMP Thu Feb 1 19:52:28 UTC 2007 i686
GNU C Library: 2.5 stable
Processor ID: x86 Family 6 Model 9 Stepping 5, GenuineIntel
Virtual Machine: Java 1.5.0 with Sun Microsystems Inc. Java HotSpot(TM) Client VM mixed mode
Default Charset: UTF-8

Register State:
eax = 00000000 ebx = b5e0c208
ecx = b74a1120 edx = 088ad758
esi = ab3a24b8 edi = 0876dcf0
ebp = a1e43738 esp = a1e43730
eip = b5d5fff5 囗囗囗 = 00010292

Stack Trace:
[0] libX11.so.6:XFreeFontSet~(0x087378f8, 0, 0xa1e43758, 0xa207df38) + 21 bytes
[1] libmawt.so:0xa205fc31(0x0876ddac, 0x084cef30, 194, 0)
[2] libmawt.so:0xa205fb7d(0x0876ddac, 0x084cef30, 0, 0x0876dcf0)
[3] libmawt.so:Java_sun_awt_X11InputMethod_disposeXIC~(0x0876ddac, 0xa1e437d4, 0xa1e437a8 ", 0xab3a24b8) + 198 bytes
[4] 0xae30c42b(0, 0xae30a589, 0xa614fea0, 0)
[5] 0xae306a7b(0xa614fea0, 0, 0xa614fea0, 0xa1e43808)
[6] 0xae306a7b(0xa614fea0, 0, 0, 0xa1e43838)
[7] 0xae306a7b(0, 0xa614fea0, 1, 0xa614fea0)
[8] 0xae306a7b(0xa614fea0, 1, 0xa610ba88, 0xa1e438a4)
[9] 0xae306d81(0xa5f43008, 0xa610ba88, 0, 0xa5f84d50)
[10] 0xae306a7b(0, 0, 0xa610ba88, 0)
[11] 0xae306a7b(0, 0xffffffff, 0xa5f6dd08, 1)
[12] 0xae306a7b(0xa5f43008, 0xa1e43988, 0xaa8589a9 ", 0xa1e439ac)
[13] 0xae306a7b(0xa5f43008, 0, 0xa5f84d50, 0xa1e439b0)
[14] 0xae306a7b(0, 0, 0xa5f4b760, 1)
[15] 0xae306a7b(0xa5f49f30, 0, 0xa5f84d50, 0xa1e43a1c)
[16] 0xae306a7b(0, 0, 0xa5f4abf8, 3)
[17] 0xae306a7b(0xa5f49d60 ", 0, 0xa5f84d50, 0xa1e43a88)
[18] 0xae306a7b(0, 0, 0xa5f4ba38, 1)
[19] 0xae306a7b(0xa5f42da8, 0, 0xa5f84d50, 0xa1e43af4)
[20] 0xae306a7b(0, 1, 0xa5f72fa0, 2)
[21] 0xae306a7b(0xa5f72b78, 0, 0xa5f84d50, 0xa1e43b60)
[22] 0xae306a7b(0, 0, 0xa5f72d08, 1)
[23] 0xae306a7b(0xa5f72a18, 0, 0xa5f84d50, 0xa1e43bcc)
[24] 0xae306a7b(0, 0, 0xa5f73e78, 2)
[25] 0xae306a7b(0xa5f72860, 0, 0xa5f84d50, 0xa1e43c38)
[26] 0xae306a7b(0, 2, 0xa5f73ea0, 3)
[27] 0xae306a7b(0xa5f78ab8, 0, 0xa5f84d50, 0xa1e43ca4)
[28] 0xae306a7b(0, 0, 0xa5f73eb8, 1)
[29] 0xae306a7b(0xa5f787e0, 1, 0xa5f84d50, 0xa1e43d10)
[30] 0xae306a7b(0, 0, 0xa5f787e0, 0xa5f84d50)
[31] 0xae306a7b(0, 0, 0xa5f78c30, 0xa1e43d80)
[32] 0xae306a7b(0xa5fcf560, 5, 5, 0xa5122ff0)
[33] 0xae306a7b(0, 0, 0, 0xa5f78c30)
[34] 0xae306a7b(0xa5030068, 0xa1e43e24, 0xaab360d3, 0xa1e43e48)
[35] 0xae306d81(0xa502e7a0, 0xa1e43e4c, 0xaab35d19, 0xa1e43e70)
[36] 0xae306a7b(0xa502e7a0, 0xa1e43e74 ", 0xabd2cd76, 0xa1e43ea0)
[37] 0xae306d81(0, 0, 0xa505fa08, 0xa505e1e0)
[38] 0xae306caa(0xa50611a0, 0xa1e43ed0, 0xaaaa3847, 0xa1e43efc)
[39] 0xae306d81(0, 0, 0xa50611b0, 0xa1e43f00)
[40] 0xae306d81(0xa5f78f70, 0xa50611b0, 0xa5f78f38, 0xa1e43f48)
[41] 0xae5551ea(0, 0xffffffff, 0xa5f78468, 0xa1e43f6c)
[42] 0xae306923(0, 0xa5f78fa8, 0xffffffff, 0xa5f78468)
[43] 0xae306a7b(0xa5f78fa8, 0xffffffff, 0xa5f78468, 0xa1e43fd0)
[44] 0xae306a7b(0xa5f78fa8, 0xa5f78468, 0xa1e43ffc, 0xaa9d9181)
[45] 0xae306a7b(0, 0, 0, 0)
[46] 0xae304157(0xa1e440b0, 0xa1e44264, 10, 0xaa9d9218)
[47] libjvm.so:0xb2f5b8ec(0xa1e44260, 0xa1e44148, 0xa1e441b0, 0x0876dcf0)
[48] libjvm.so:0xb304a378(0xb2f5b730, 0xa1e44260, 0xa1e44148, 0xa1e441b0)
[49] libjvm.so:0xb2f5b145(0xa1e44260, 0x0876d3d4, 0xb3540430 ", 0xb35404fc)
[50] libjvm.so:0xb2f5b1de(0xa1e44260, 0x0876d3d0, 0x0876d3d4, 0xb3540430 ")
[51] libjvm.so:0xb2fc8495(0x0876dcf0, 0x0876dcf0, 0, 0)
[52] libjvm.so:0xb30a330d(0x0876dcf0, 1, 0, 0)
[53] libjvm.so:0xb304ae88(0x0876dcf0, 0xa1e44480 ", 0xa1e44480 ", 0xa1e44480 ")
[54] libpthread.so.0:0xb75a5e5a(0xa1e44b90, 0, 0, 0)

Please follow these steps in reporting this problem to The MathWorks so
that we have the best chance of correcting it:

1. Send this crash report to segv@mathworks.com for automated analysis.
For your convenience, this information has been recorded in:
/home/jasper/matlab_crash_dump.5866

2. If the problem is reproducible, please submit a bug report via:
http://www.mathworks.com/support/contac ... est_1.html

Thank you for your assistance. Please save your workspace and restart
MATLAB before continuing your work.
头像
zhuqin_83
帖子: 10606
注册时间: 2006-05-13 4:02
联系:

#19

帖子 zhuqin_83 » 2007-02-15 2:09

java用系统的,越新越好。
在matlab启动脚本中添加
export MATLAB_JAVA=/usr/lib/jvm/java-1.5.0-sun/jre
如果你装的是java6(推荐用这个),则路径是
export MATLAB_JAVA=/usr/lib/jvm/java-6-sun/jre
HP Pavilion DV6-2064CA: AMD Turion II Ultra Dual-Core Mobile M640, HD4650, 2GBx2 DDR2-800, Seagate 500GB 7200RPM SATA, BD-ROM
DELL UltraSharp 2209WA
Arch64, Testing repo
jasper
帖子: 50
注册时间: 2007-02-04 19:39
来自: Delft, The Netherlands

#20

帖子 jasper » 2007-02-15 3:18

zhuqin_83 写了:java用系统的,越新越好。
在matlab启动脚本中添加
export MATLAB_JAVA=/usr/lib/jvm/java-1.5.0-sun/jre
如果你装的是java6(推荐用这个),则路径是
export MATLAB_JAVA=/usr/lib/jvm/java-6-sun/jre
我按照这个方法做了,甚至专门装了java6,还是不行。
好像matlab r2006b的修改这个就没有用...

p.s 你是McGill EE的吧?我猜
jasper
帖子: 50
注册时间: 2007-02-04 19:39
来自: Delft, The Netherlands

#21

帖子 jasper » 2007-02-15 3:22

jasper 写了:
zhuqin_83 写了:java用系统的,越新越好。
在matlab启动脚本中添加
export MATLAB_JAVA=/usr/lib/jvm/java-1.5.0-sun/jre
如果你装的是java6(推荐用这个),则路径是
export MATLAB_JAVA=/usr/lib/jvm/java-6-sun/jre
我按照这个方法做了,甚至专门装了java6,还是不行。
好像matlab r2006b的修改这个就没有用...

p.s 你是McGill EE的吧?我猜
问题解决,这句话必须要加在脚本的前面,否则没有用。谢谢了!
头像
zhuqin_83
帖子: 10606
注册时间: 2006-05-13 4:02
联系:

#22

帖子 zhuqin_83 » 2007-02-15 3:39

呵呵,不是。
mcgill的ee也就那样了。
HP Pavilion DV6-2064CA: AMD Turion II Ultra Dual-Core Mobile M640, HD4650, 2GBx2 DDR2-800, Seagate 500GB 7200RPM SATA, BD-ROM
DELL UltraSharp 2209WA
Arch64, Testing repo
jasper
帖子: 50
注册时间: 2007-02-04 19:39
来自: Delft, The Netherlands

#23

帖子 jasper » 2007-02-15 3:43

zhuqin_83 写了:呵呵,不是。
mcgill的ee也就那样了。
看你来自Montreal, 就好奇的问问。
头像
shaojz2005
帖子: 278
注册时间: 2006-07-13 13:01
联系:

#24

帖子 shaojz2005 » 2007-03-27 17:52

教育网用户下载完毕,速度4M/S,用时2分钟 :)
头像
Soonfish
帖子: 53
注册时间: 2007-02-26 23:38

#25

帖子 Soonfish » 2007-03-30 19:05

错误提示:
matlab: No MATLAB executable for this machine architecture.

/usr/local/matlab7/bin/glnx86/MATLAB does not
大虾帮忙看看
头像
fallleaf
帖子: 694
注册时间: 2006-12-29 20:13

#26

帖子 fallleaf » 2007-03-30 19:36

我用octave,和matlab一样的用法,源里就有。
soahcn
帖子: 44
注册时间: 2007-04-09 20:10

deb安装时的问题

#27

帖子 soahcn » 2007-04-15 8:25

出错提示
/var/lib/dpkg/info/matlab7.postinst: 34: function: not found
dpkg: error processing matlab7 (--install):
subprocess post-installation script returned error exit status 127
Errors were encountered while processing:
matlab7
第34行是这么个函数
function fix_hostname {
echo "$PACKAGE: Generating $1 from $1.in ..."
cd /etc/$PACKAGE && \
sed -e "s/HOST_NAME/$HOSTNAME/g" "$1.in" > "$1"
}
不知大家有没有碰到
lhd25
帖子: 190
注册时间: 2006-12-04 21:45

#28

帖子 lhd25 » 2007-05-08 19:08

我装上了,好像没那么多的错误吧,不过楼主的图标不好看,黑黑的一块,桌面的图标怎么能这个样子的呢,还是用我的吧,我把黑布景去掉了!
附件
matlab.png
tomguy
帖子: 702
注册时间: 2005-09-27 10:32

#29

帖子 tomguy » 2007-05-26 17:04

我用的是最新版的ubuntu,按照你说的方法装了matlab,可是不能启动simulink。

是不是因为你用的ubuntu是6.10而我用的是7.04?
tomguy
帖子: 702
注册时间: 2005-09-27 10:32

#30

帖子 tomguy » 2007-05-26 17:08

??? Can't load '/opt/matlab/bin/glnx86/libmwsimulink.so': /usr/lib/libXft.so.1: undefined symbol: FcPatternInsertElt

??? Insufficient memory to execute script %.


------------------------------------------------------------------------
Assertion detected at Sat May 26 17:10:08 2007
------------------------------------------------------------------------

Assertion failed: hdr->in_use != 0, at line 706 of file "memmgr/memcache.cpp".
Attempt to free previously freed memory


Configuration:
MATLAB Version: 7.0.0.19901 (R14)
Operating System: Linux 2.6.20-15-generic #2 SMP Sun Apr 15 07:36:31 UTC 2007 i686
Window System: The X.Org Foundation (70200000), display :0.0
Current Visual: 0x23 (class 4, depth 24)
Processor ID: x86 Family 15 Model 12 Stepping 2, AuthenticAMD
Virtual Machine: Java 1.4.2_02 with Sun Microsystems Inc. Java HotSpot(TM) Client VM
(mixed mode)
Default Charset: UTF-8

Stack Trace:
[0] libmwbridge.so:ThrowAssertion()(0xb7dccbe0 "Assertion failed: hdr->in_use !=..", 0xb7db6739, 512, 0xbf9b565d) + 164 bytes
[1] libmwbridge.so:MATLABAssertFcn(char const*, char const*, int, char const*)(0xb7f46231 ": hdr->in_use != 0,", 0xb7f461c0 "memmgr/memcache.cpp", 706, 0xb7f45220 "Attempt to free previously freed..") + 113 bytes
[2] libut.so:ut_assertstr(0xb7f46231 ": hdr->in_use != 0,", 0xb7f461c0 "memmgr/memcache.cpp", 706, 0xb7f45220 "Attempt to free previously freed..") + 55 bytes
[3] libut.so:mw_free(0xb54a76f0 "_GLOBAL__I__ZN32_GLOBAL__N_iolib..", 0, 0xbf9b5718, 0xb7f2dde2) + 727 bytes
[4] libut.so:utFree(0xb54a76f0 "_GLOBAL__I__ZN32_GLOBAL__N_iolib..", 0xb7f5a534, 0xbf9b5738, 0xb6acbc0a) + 34 bytes
[5] libmwm_pcodeio.so:mpio_free_pcodeheader(0xb7f65464, 0xbf9b6130, 0xbf9b61a8, 0xb7a5d0c8) + 150 bytes
[6] libmwm_interpreter.so:inEvalStringWithIsVarFcn(_memory_context*, char const*, unsigned, EvalType, int, mxArray_tag**, inDebugCheck, _pcodeheader*, int*, bool (*)(void*, char const*), void*)(0xb7f65464, 0x08c53af0 "simulink\n", 9, 0) + 2400 bytes
[7] libmwm_interpreter.so:inEvalCmdNoEnd(0x08c53af0 "simulink\n", 0x08c53af0 "simulink\n", 0xbf9b63a8, 0xb7d63dc3) + 110 bytes
[8] libmwbridge.so:mnParser(0xb7d39e8b "@@@", 0xb7d39f7b "mnParser", 1, 0x08048f64 "svIsStudentMode") + 471 bytes
[9] libmwmcr.so:mcrInstance::mnParser()(0x0809e008, 0, 0xbf9b86e8, 0x0804a90e) + 96 bytes
[10] MATLAB:mcrMain(int, char**)(1, 0xbf9b8794, 0xbf9b8708, 0xb77e8bc0) + 308 bytes
[11] MATLAB:main(1, 0xbf9b8794, 0xbf9b879c, 0xb7f94898 ") + 23 bytes
[12] libc.so.6:__libc_start_main~(0x0804a7d0, 1, 0xbf9b8794, 0x0804a3e4) + 220 bytes

Please follow these steps in reporting this problem to The MathWorks so
that we have the best chance of correcting it:

1. Send this crash report to segv@mathworks.com for automated analysis.
For your convenience, this information has been recorded in:
/home/mgc/matlab_crash_dump.15803

2. Also, if the problem is reproducible, send the crash report to
support@mathworks.com along with:
- A specific list of steps that will reproduce the problem
- Any M, MEX, MDL or other files required to reproduce the problem
- Any error messages displayed to the command window
A technical support engineer will contact you with further information.

Thank you for your assistance. Please save your workspace and restart
MATLAB before continuing your work.
回复