When generating code, is there a setting to turn type casting on/off?
54 ビュー (過去 30 日間)
古いコメントを表示
When generating code from the same Simulink file on two different computers, type casting is not generated on one computer.

This appears to be a setting somewhere other than the Simulink file itself.
Please review this inquiry and respond.
0 件のコメント
回答 (1 件)
Yashwanth
2026 年 1 月 13 日 9:39
Here is an article that provides information on Controlling Cast Expressions in Generated Code. This article should help resolve your issue:Control Cast Expressions in Generated Code - MATLAB & Simulink
参考
カテゴリ
Help Center および File Exchange で Deployment, Integration, and Supported Hardware についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
