声振论坛

 找回密码
 我要加入

QQ登录

只需一步,快速开始

查看: 1225|回复: 3

[编程技巧] 询问有关simulink模块加载问题

[复制链接]
发表于 2006-11-11 16:58 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?我要加入

x
请高手指点一下,我在打开一个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
请问是怎么回事?如何解决,很急多加感谢了!!
回复
分享到:

使用道具 举报

发表于 2006-11-11 19:02 | 显示全部楼层

回复

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

[ 本帖最后由 xjzuo 于 2006-11-11 19:03 编辑 ]
 楼主| 发表于 2006-11-12 15:19 | 显示全部楼层

给楼上

感谢,但试了试还是一样的,我想是不是模型中有中文字符的原因,请各位高手指点一下吧
发表于 2006-11-12 15:23 | 显示全部楼层
remove the unsupported characters. !!!!
把模型存到一个纯英文路径的文件夹里
您需要登录后才可以回帖 登录 | 我要加入

本版积分规则

QQ|小黑屋|Archiver|手机版|联系我们|声振论坛

GMT+8, 2024-6-13 16:52 , Processed in 0.058174 second(s), 18 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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