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
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개)

카테고리

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