生成コード内でHEX表現する方法について

Simulinkで、Constantブロックに"0x7FFFFF"と入力してコード生成(インライン)すると、"8388607"となります。
可読性の為にコード内でも"0x7FFFFF"とするにはどうすればいいでしょうか?

回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange配布 についてさらに検索

質問済み:

2021 年 1 月 7 日

Community Treasure Hunt

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

Start Hunting!