MTLAB error(一)

http://zhidao.baidu.com/link?url=IJs5iJym_L8bDOw4F48YFTbMFyYzgccZpC7AQJQYUW3E2QAwTDxm7uBFRhMAZWpydUjCCt99P6j48yYopuSFRH6CmkCt_EdPFU6S_rNBbgi&qq-pf-to=pcqq.c2c
File "D:\Program Files\MATLAB\project\untitled.mdl" contains characters which are incompatible with the current character encoding, GBK. To avoid
this error, do one of the following:
1) Use the slCharacterEncoding function to change the current character encoding to one of: windows-1252, ISO-8859-1.
2) Remove the unsupported characters. The first unsupported character is at line 28, byte offset 15
试一试在打开模型以前运行:bdclose all;set param(0,'characterencoding','windows-1252');




he 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 23,
byte offset 15 in the file D:\\untitled1.err
  To see this information repeated at the
command line use LASTERR.html

 

http://blog.sina.com.cn/s/blog_599dcaa501012tka.htmlwindows

在创建的模块上选择-》file-》model property 而后找到history中的last Modified 把文本框内的内容改为英文名。然而并无什么用。ide

This error is thrown due to the fact that the creator name saved in the model may have characters that are outside of the encoding used for the model. Check the value of the creator field in the Simulink model file (File->Model Properties->History->Creator). This error message is intended to prompt the user to ensure that the characters in the login name belong to the windows 949 character set:this

http://msdn.microsoft.com/en-us/goglobal/bb964654.aspxurl

The login name can be verified by executing the command "set username" in the DOS command window (Start->Run->cmd->enter 'set username').spa

这是说在dos下修改用户名。code

缘由是在模块中有“架空线”是汉字,改为英文后就行了。orm

相关文章
相关标签/搜索