Article - CS212781

MKS171072 Synchronize Error when synchronizing a Simulink model into Integrity on Chinese NT system

Modified: 11-Apr-2017   


Applies To

  • PTC RV&S (formerly Integrity Lifecycle Manager) 10.0 N/A to 11.1 F000
  • MathWorks Integration 1.2
  • MATLAB R2011a

Description

  • MKS171072 Synchronize Error when synchronizing a Simulink model into Integrity on Chinese version of NT operating system
  • MKS171072 error when synchronizing Model in MATLAB via MathWorks Integration
    • yyyy-MM-dd HH:mm:ss com.mks.mathworks
      信息: MATLAB EXCEPTION: Error using ==> <a href="matlab: opentoline('C:\Program Files\MATLAB\R2011a\toolbox\simulink\simulink\save_system.m',38,0)">save_system at 38</a>
      The model '<a href="matlab:open_system ('KenTest')">KenTest</a>' 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('<a href="matlab:open_system ('KenTest')">KenTest</a>', 'SavedCharacterEncoding', 'GBK'), or
       2) identify the characters that cannot be encoded and remove them from the model. The first unsupported character occurs on line 26, byte offset 80 in the file C:\Program Files\MKS\MathworksIntegration\mksmathworks\KenTest.err
       To see this information repeated at the command line use LASTERR.
      identifier:Simulink:Commands:SaveMdlIncompatibleEncoding
      C:\Program Files\MATLAB\R2011a\toolbox\simulink\simulink\save_system.m
                save_system line: 38
      C:\Program Files\MKS\MathworksIntegration\mksmathworks\private\mksvnv_synchronize.m
                mksvnv_synchronize line: 151
      C:\Program Files\MKS\MathworksIntegration\mksmathworks\mksvnv.m
                mksvnv line: 265
      C:\Program Files\MKS\MathworksIntegration\mksmathworks\sl_customization.m
                synchronizeModelCallback line: 353
      2015-7-10 18:48:35 com.mks.mathworks
      信息: Attempt to synchronize an unsaved model file.
This is a printer-friendly version of Article 212781 and may be out of date. For the latest version click CS212781