Azzera filtri
Azzera filtri

matlab encoding如何​从GBK转换成win​dows-1252

17 visualizzazioni (ultimi 30 giorni)
youli
youli il 4 Gen 2024
Risposto: Swaraj il 9 Gen 2024
The character encoding windows-1252 used by model 'FehleraufschaltungLib' differs from the MATLAB session character encoding GBK. To check for
problems which might corrupt the model use the "Simulink Model File Integrity" checks in the Model Advisor.

Risposte (1)

Swaraj
Swaraj il 9 Gen 2024
Hi youli,
I am assuming that "FehleraufschaltungLib" is a MDL file as SLX files do not warn because they can store characters from any encoding.
If you open a MDL file created in a release prior to R2021b in a MATLAB session that uses different encoding, you receive a warning. For example, suppose you create a MDL file in a MATLAB session configured for Shift_JIS and open it in a session configured for windows-1252. The warning message displays the encoding of the current session and the encoding used to create the model.
Starting in R2021b, MDL files can store characters from any encoding. To open a MDL file created in a release prior to R2021b in a MATLAB session that uses different encoding, in the environment with the encoding that the MDL file is configured for, resave the file in the R2021b release or later, or resave the MDL file as an SLX file.
For more details, follow the below documentation.

Categorie

Scopri di più su 编程 in Help Center e File Exchange

Prodotti


Release

R2021a

Community Treasure Hunt

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

Start Hunting!