In HDL Simulink, How to convert from integer to boolean array.
12 views (last 30 days)
Show older comments
I can do it with a bunch of "Extract Bits" block, one for every bit. Is there a better way with HDL blocks?
0 Comments
Answers (1)
Kiran Kintali
on 4 Mar 2022
Edited: Kiran Kintali
on 4 Mar 2022
>> hdlcoder_int2bits_bits2int
You can check this thread as well. https://www.mathworks.com/matlabcentral/answers/1661925-hdl-supported-block-for-integer-to-binary
0 Comments
See Also
Categories
Find more on HDL Coder in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!