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

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

figure中的中文会乱码

#31

帖子 whf_th » 2007-06-06 10:28

大家遇到过么 如何解决
Nakedpig
帖子: 154
注册时间: 2006-06-28 21:53

#32

帖子 Nakedpig » 2007-06-18 21:42

我觉得 simulink 不能启动主要不是 libxft 的问题。我觉得主要是 Java 的问题。解决 Java 的问题 simulink 的问题也解决了。如果 Java 不先解决的话,即使用 libxft1 还是用 libxft2,simulink还是会崩溃的。font 设置也会使 Matlab 崩溃。
waynedou
帖子: 27
注册时间: 2007-06-06 11:42

#33

帖子 waynedou » 2007-06-20 23:39

我以前安装了一个MATLAB7,使用的是三个光盘映像的那种。现在下载了楼主提供的deb文件,但可能因为之前安装的matlab7存在,所以安装无法进行。请教高人如何才能卸载从光盘版本通过运行install来安装的matlab?
vipischen
帖子: 5
注册时间: 2007-06-20 10:02

#34

帖子 vipischen » 2007-06-22 13:20

Internal error 2: Could not determine the path of the
MATLAB root directory.

original command path = /opt/matlab/bin/matlab
current command path = /opt/matlab/bin/matlab

Please contact:

MathWorks Technical Support

for further assistance.


安装好后,安装图标,或终端matlab 时出现这个路径错误怎么回事阿,谢谢了
vipischen
帖子: 5
注册时间: 2007-06-20 10:02

#35

帖子 vipischen » 2007-06-22 20:06

重装了下就好了,不过桌面的图标怎么弄的阿?谢谢了
sdlwgc
帖子: 1
注册时间: 2007-06-14 18:27

#36

帖子 sdlwgc » 2007-06-23 10:08

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: 0x21 (class 4, depth 24)
Processor ID: x86 Family 15 Model 15 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

Register State:
eax = 4f4c475f ebx = b7ca6a74
ecx = 08e701ac edx = b54358d0
esi = b54358d0 edi = 000004d1
ebp = bf844008 esp = bf843fe0
eip = b793b6ef 囗囗囗 = 00010282

Stack Trace:
[0] libstdc++.so.5:__dynamic_cast~(0xb54358d0 "_GLOBAL__I__ZN32_GLOBAL__N_iolib..", 0xb7c966c0, 0xb7c97e60, 0) + 15 bytes
[1] libmwm_dispatcher.so:mdTimecheckFunctions(Mdispatcher*)(0x08b1b660, 1, 0xbf844078, 0xb7c7241e) + 216 bytes
[2] libmwm_dispatcher.so:mdRefresh(Mdispatcher*, mpDirRefreshType)(0x08b1b660, 1, 0xbf844218, 0xb7cf5dac) + 93 bytes
[3] libmwm_dispatcher.so:mdRefreshAtPrompt(0, 0xbf8440c4, 0xbf8440c4, 7) + 34 bytes
[4] libmwbridge.so:mnParser(0xb7ccbe8b "@@@", 0xb7ccbf7b "mnParser", 1, 0x08048f64 "svIsStudentMode") + 454 bytes
[5] libmwmcr.so:mcrInstance::mnParser()(0x0809e008, 0, 0xbf846558, 0x0804a90e) + 96 bytes
[6] MATLAB:mcrMain(int, char**)(1, 0xbf846604, 0xbf846578, 0xb7776bc0) + 308 bytes
[7] MATLAB:main(1, 0xbf846604, 0xbf84660c, 0xb7f26898 ") + 23 bytes
[8] libc.so.6:__libc_start_main~(0x0804a7d0, 1, 0xbf846604, 0x0804a3e4) + 220 bytes
哪位达人指点一下,simulink启动不了,还退不出去
xbear
帖子: 105
注册时间: 2007-05-14 0:10

#37

帖子 xbear » 2007-07-21 23:42

xxxxr@xxxxr:~$ sudo 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

>>

这是为什么??
shepx
帖子: 42
注册时间: 2006-10-31 9:46

#38

帖子 shepx » 2007-07-24 12:08

xbear 写了:xxxxr@xxxxr:~$ sudo 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

>>

这是为什么??
我也是这个问题,问了几天了,没人回啊 :( !!

换了个版本,没有SP2的,我安装成功了,具体什么地方出问题了希望有人能够回答一下。
上次由 shepx 在 2007-08-30 10:37,总共编辑 1 次。
shepx
帖子: 42
注册时间: 2006-10-31 9:46

Re: deb安装时的问题

#39

帖子 shepx » 2007-08-30 10:34

soahcn 写了:出错提示
/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"
}
不知大家有没有碰到
不用理他,我直接把 $PACKAGE 里面的license 手动修改了 拷贝到了 matlab 的 etc 目录下,就OK了
shepx
帖子: 42
注册时间: 2006-10-31 9:46

#40

帖子 shepx » 2007-09-06 13:53

tomguy 写了:??? 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

......
用libXft.so.2代替libXft.so.1

代码: 全选

# ln -s /usr/lib/libXft.so.2 /usr/lib/libXft.so.1
seangg
帖子: 61
注册时间: 2005-11-20 21:12

#41

帖子 seangg » 2007-11-21 4:01

i3oson 写了:大家谁有 R2006b 的 license.lic ,请贴出来一下,我在eMule上下的 镜像的 crack 里是 license_locked.dat 和 license_server.dat ,没有 license.lic。到底应该怎样处理呢?

谢谢

将其中的一个改为license.lic
seangg
帖子: 61
注册时间: 2005-11-20 21:12

#42

帖子 seangg » 2007-11-21 4:04

vipischen 写了:重装了下就好了,不过桌面的图标怎么弄的阿?谢谢了
到/usr/share/applications/下找一个文件。将里面的内容改成相应matlab的运行程序和图表路径即可。

快速设置指南里面有一个创建Lumaqq的方法,依样画葫芦即可。
头像
dreamcatcher
帖子: 59
注册时间: 2007-11-19 16:43

#43

帖子 dreamcatcher » 2007-12-14 13:13

seangg 写了:
vipischen 写了:重装了下就好了,不过桌面的图标怎么弄的阿?谢谢了
到/usr/share/applications/下找一个文件。将里面的内容改成相应matlab的运行程序和图表路径即可。

快速设置指南里面有一个创建Lumaqq的方法,依样画葫芦即可。
我按照你说的目录,可是里面没有桌面上对应的图标阿,能说仔细点马?我已经下了你发的png格式的图标,怎么样才能替换桌面上的未知图标?
mohan
帖子: 6
注册时间: 2007-11-14 18:30

#44

帖子 mohan » 2008-01-06 15:40

我的怎么只出来个窗口,里面是空白啊
mohan
帖子: 6
注册时间: 2007-11-14 18:30

#45

帖子 mohan » 2008-01-09 9:19

mohan 写了:我的怎么只出来个窗口,里面是空白啊
解决了,原来和compiz有冲突,关了就没事儿了
回复