Why am I unable to use Korean block names and path names in Simulink 7.1 (R2008a)?

1 次查看(过去 30 天)
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
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 个)

类别

Help CenterFile Exchange 中查找有关 Naming Conventions 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by