MATLAB: Measure data size in simulink

displayMATLABsimulink

hi all..
just wanna ask, is there a way to calculate amount of data being process between each system like signal combine in mux??
it was like the display sink, only this block shows the amount of data like (4 byte, 10 byte, 1Kb etc). is there any???
thanks

Best Answer

Also, if you need that value as a signal in the Simulink model you can use the Probe Block in the Signal Attributes library and check the Probe width option. That will give you the number of elements in the signal, you can then multiply that by the number of bytes based on the datatype (e.g. 8 for double).