matlab simulink保存问题

来源:百度知道 编辑:UC知道 时间:2024/07/02 03:57:03
Error
The model'untitled1' contains characters that
cannot be encoded with the model's character
encoding, 'GBK'. Either:
1) change the character encoding setting of
the model, by using: set_param('untitled1',
'SavedCharacterEncoding', 'GBK'), or
2) identify the characters that cannot be
encoded and remove them from the model. The
first unsupported character occurs on line 22,
byte offset 16 in the file D:\matlab\做的东西
\untitled1.err
To see this information repeated at the
command line use LASTERR.
如何解决该问题
是2008b 如何算是特殊处理呢? 万分感激 恩 本人是初学者 修改注释应该在何处进行操作啊

你是不是使用的matlab 7
这个版本好像SIMULINK 需要特殊处理一下 才能正常保存

LZ 的模型中是不是包含有汉字
我看 其中有 The model'untitled1' contains characters that
cannot be encoded with the model's character
encoding, 'GBK'
代表matlab 不支持 GBK 编码
建议将所有的注释 修改为 英文

文件名不要用中文,模型文件内的call back函数不要用中文注释。另外目录最好不要含有中文。