MATLAB: How to define a 16 bit storage in simulink

bitbitwiseMATLABregistersimulink

Hello,
I am trying to build a 16 bit storage block. My aim is passing some comparison results to those bit locations and for specific cases recalling them for further operations.
I searched the documentation and found FIFO registers but it makes the system more complicated since I cannot really control the register position operations.
Is there any other way/block to do this?

Best Answer

You could try using a Data Store Memory block along with the Simulink bit-wise operators for reading/writing the storage block.