Why am I unable to use Korean block names and path names in Simulink 7.1 (R2008a)?
1 次查看(过去 30 天)
显示 更早的评论
MathWorks Support Team
2013-10-26
编辑: MathWorks Support Team
2015-12-1
I implement the following steps in Simulink 7.1 (R2008a)
1. Open simulink new-model editor.
2. Drag and drop some block into the model.
3. Re-name the block in Korean and Save the model.
Simulink complains that Korean characters cannot be saved:
??? Error using ==> save_system
If I execute the following commands
bdclose all; set_param(0, 'CharacterEncoding', 'ISO-8859-1')
I can save mdl file with Korean named block.
采纳的回答
MathWorks Support Team
2015-12-1
This enhancement has been incorporated in Release 2011b (R2011b). For previous product releases, read below for any possible workarounds:
There is a limitation in Simulink 7.1 (R2008a) in the way that non ISO-8859-1, US-ASCII, Windows-1252, or Shift-JIS, character encodings are saved or loaded for the first time. Attempting to save or load such a model will cause an error.
As a workaround, execute the following at the MATLAB command prompt, and then save the model.
load_system('simulink');
feature('MultibyteCharSetChecking',0);
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Naming Conventions 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!