hyacinth531 发表于 2006-11-11 16:58

询问有关simulink模块加载问题

请高手指点一下,我在打开一个simulink模块时,模块无法打开,matlab提示如下:
Warning: Unable to load model file 'C:\Documents and Settings\wuming\桌面\控制系统的matlab课程\Matlab文件\t4106.mdl' due to the presence of
characters that are not supported in the current character encoding setting 'GBK'. Either:
1) run "bdclose all; set_param(0,'CharacterEncoding', Enc)" where Enc is one of windows-1252, ISO-8859-1, then load the model, or
2) remove the unsupported characters. The first such character occurs on line 140, byte offset 21.
> In general\private\openmdl at 13
In open at 141
In uiopen at 181
请问是怎么回事?如何解决,很急多加感谢了!!

xjzuo 发表于 2006-11-11 19:02

回复

试试将该文件(t4106.mdl)放在work文件夹下面.

[ 本帖最后由 xjzuo 于 2006-11-11 19:03 编辑 ]

hyacinth531 发表于 2006-11-12 15:19

给楼上

感谢,但试了试还是一样的,我想是不是模型中有中文字符的原因,请各位高手指点一下吧

笑石头 发表于 2006-11-12 15:23

remove the unsupported characters. !!!!
把模型存到一个纯英文路径的文件夹里
页: [1]
查看完整版本: 询问有关simulink模块加载问题