In HDL Simulink, How to convert from integer to boolean array.
古いコメントを表示
I can do it with a bunch of "Extract Bits" block, one for every bit. Is there a better way with HDL blocks?
回答 (1 件)
Kiran Kintali
2022 年 3 月 4 日
編集済み: Kiran Kintali
2022 年 3 月 4 日
>> hdlcoder_int2bits_bits2int
You can check this thread as well. https://www.mathworks.com/matlabcentral/answers/1661925-hdl-supported-block-for-integer-to-binary
カテゴリ
ヘルプ センター および File Exchange で Code Generation についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!