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

相關文章
相關標籤/搜索