LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1104|回复: 3

Matlab运行出错,请高手指点(已经解决)

[复制链接]
发表于 2006-4-11 13:08:16 | 显示全部楼层 |阅读模式
/mnt/pub/matlab7/bin/matlab
??? MATLAB was unable to open a pseudo-tty: No such file or directory [2,1]
The unix() and ! commands will not work in this MATLAB session.  Other
commands which depend upon unix() and ! will also fail.  Your system may
be running low on resources.  If the problem persists after a reboot,
check with your system administrator and confirm that your pty subsystem
is properly configured.

Warning: Cannot convert string "-b&h-lucidasans-medium-r-normal-sans-*-140-*-*-p-*-iso8859-1" to type FontStruct
 楼主| 发表于 2006-4-11 17:38:37 | 显示全部楼层
好像要mount ptyfs ,是不是要重新编译内核啊
回复 支持 反对

使用道具 举报

发表于 2006-4-11 19:19:04 | 显示全部楼层
似乎是你的 pty 没弄好。。

http://www.linuxfromscratch.org/lfs/faq.html#no-ptys
可以参考一下这里的指南。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-11 22:31:01 | 显示全部楼层
果然是pts加载的问题,用下面这条命令解决的:

mount -t devpts devpts /dev/pts

为什么在/etc/fstab中加上
devpts          /dev/pts        devpts  rw              0       0
不行,非得手动加载呢?
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表