Why does Real-Time Workshop crash when code generation is performed on block diagrams with multibyte characters?

1 回表示 (過去 30 日間)
Using multibyte characters (e.g., Japanese extended character set) in Simulink causes Real-Time Workshop to crash during code generation, or yields unexpected results.

採用された回答

MathWorks Support Team
MathWorks Support Team 2010 年 3 月 4 日
This bug has been fixed for Release 14 (R14). For previous releases, please read below for any possible workarounds:
This has been verified as a bug in Real-Time Workshop 5.1 (R13SP1) in the way that the TLC compiler handles multibyte characters.
Currently, you can download a revised version of a library file that fixes the problem. Here are the required steps:
1. Quit MATLAB
2. Rename the following file:
PC: $MATLAB/toolbox/rtw/rtw/tlc_new.dll
Linux: $MATLAB/toolbox/rtw/rtw/tlc_new.mexglx
(where $MATLAB = the MATLAB root directory on your machine)
Rename the file to [filename].old
3. Download one of the following files found as an attachment at the end of this article:
PC: tlc_new.dll
Linux: tlc_new.mexglx
and place it in the same directory mentioned in step 2.
4. Restart MATLAB
5. After restarting MATLAB, issue the following command at the MATLAB prompt:
rehash toolboxcache

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSimulink Coder についてさらに検索

製品


リリース

R13SP1

Community Treasure Hunt

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

Start Hunting!

Translated by