четверг, 10 октября 2013 г.

Matlab ошибка error

Warning: Unable to load model file 'c:\users\jester\desktop\Майор\rgr.mdl' due to the presence of characters that are not supported in the current character encoding setting 'ibm-5347_P100-1998'. Either:
 1) run "bdclose all; set_param(0,'CharacterEncoding', Enc)" where Enc is one of windows-1252, ISO-8859-1, then load the model, or
 2) remove the unsupported characters. The first such character occurs on line 37, byte offset 22.
> In general\private\openmdl at 13
  In open at 141
Warning: See help sprintf for valid escape sequences.
> In open at 157
??? Error using ==> open

Решение проблемы:
Вставить код в окно воркспэйс
slCharacterEncoding('ISO-8859-1')
http://www.mathworks.com/help/simulink/slref/slcharacterencoding.html

Комментариев нет:

Отправить комментарий