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?

Categories

Find more on Code Generation in Help Center and File Exchange

Products

Release

R2021b

Asked:

on 4 Mar 2022

Edited:

on 4 Mar 2022

Community Treasure Hunt

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

Start Hunting!