In HDL Simulink, How to convert from integer to boolean array.
5 次查看(过去 30 天)
显示 更早的评论
I can do it with a bunch of "Extract Bits" block, one for every bit. Is there a better way with HDL blocks?
0 个评论
回答(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
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!