24小时热门版块排行榜    

CyRhmU.jpeg
查看: 1566  |  回复: 6

Andy_ncu

木虫 (正式写手)

[求助] matlab2010不能打开m文件已有2人参与

在自己的笔记本上安装完matlab2010后无法打开m文件,出现一行红色的字“??? Undefined function or method 'uiopen' for input arguments of type 'char'.”,而且打开主程序时,出现很多警告信息Warning: D:\Program Files\MATLAB\R2010b\toolbox\local\pathdef.m not found.
Toolbox Path Cache is not being used. Type 'help toolbox_path_cache' for more info
Undefined function or variable 'ispc'.
Warning: MATLAB did not appear to successfully set the search path. To recover for
this session of MATLAB, type "restoredefaultpath;matlabrc". To find out how to
avoid this warning the next time you start MATLAB, type "docsearch problem path"
after recovering for this session.
Warning: Duplicate directory name: D:\Program Files\MATLAB\R2010b\toolbox\local.
Warning: Initializing Handle Graphics failed in matlabrc.
This indicates a potentially serious problem in your MATLAB setup,
which should be resolved as soon as possible.  Error detected was:
MATLAB:UndefinedFunction
Undefined function or method 'colordef' for input arguments of type 'double'.
> In matlabrc at 100
Warning: Initializing Java preferences failed in matlabrc.
This indicates a potentially serious problem in your MATLAB setup,
which should be resolved as soon as possible.  Error detected was:
MATLAB:UndefinedFunction
Undefined function or method 'usejava' for input arguments of type 'char'.
> In matlabrc at 123
Warning: Failed to add default profiler filters.
> In matlabrc at 179
安装了两次还是这个问题。自己办公室的电脑成功装上了,根本没这些问题。怎么解决啊??、?
回复此楼

» 猜你喜欢

» 本主题相关价值贴推荐,对您同样有帮助:

已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

jningpupil

新虫 (初入文坛)

【答案】应助回帖

★ ★
感谢参与,应助指数 +1
Andy_ncu: 金币+1, 有帮助, 在哪里? 2013-12-06 21:58:32
xzhdty: 金币+1, 感谢参与 2013-12-09 06:57:35
是pathdef文件出了问题,可以打开那个文件看看是正常
2楼2013-12-06 10:42:31
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

Andy_ncu

木虫 (正式写手)

引用回帖:
2楼: Originally posted by jningpupil at 2013-12-06 10:42:31
是pathdef文件出了问题,可以打开那个文件看看是正常

pathdef文件也打不开
3楼2013-12-06 22:09:08
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

laohuajiang

至尊木虫 (职业作家)

老花匠

可能是matlab.exe权限不够,用右键,管理员运行试试。
另外,某些杀毒软件,特别数字,会改变电脑设置,甚至剥夺你的权限!
静坐常思自己过,闲谈莫论他人非!---老花匠(老非老-春残意彷徨;花非花-芳踪觅繁华,匠非匠-最美难得糊涂!)
4楼2013-12-08 09:24:26
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

Andy_ncu

木虫 (正式写手)

引用回帖:
4楼: Originally posted by laohuajiang at 2013-12-08 09:24:26
可能是matlab.exe权限不够,用右键,管理员运行试试。
另外,某些杀毒软件,特别数字,会改变电脑设置,甚至剥夺你的权限!

管理员运行也不行
5楼2013-12-08 20:55:49
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

hityd

铜虫 (初入文坛)

【答案】应助回帖

★ ★ ★ ★
Andy_ncu: 金币+4, ★★★很有帮助, 问题是暂时解决了,但是下次重新打开matlab的时候还是有这些警告,还得运行这个命令。。。。 2014-01-07 20:48:37
我也刚碰到这个问题并解决了。
那一大堆提示中给出了解决的方法,运行“restoredefaultpath;matlabrc"命令即可。

[ 发自手机版 http://muchong.com/3g ]
6楼2013-12-30 10:46:26
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

ju5200

木虫 (正式写手)

【答案】应助回帖

是不是目录的问题 就是工作路径
7楼2013-12-31 21:42:38
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 Andy_ncu 的主题更新
信息提示
请填处理意见