Calculate the size in bytes of a bus signal

11 views (last 30 days)
Eleni Tekki
Eleni Tekki on 6 May 2022
Commented: dpb on 6 May 2022
I have a bus signal which contains data and i would like to calculate the total size of these data in bytes. Is there a way in simulink?
Thank you
  1 Comment
dpb on 6 May 2022
Write an S function if nothing else...with nothing else to go on, one would presume it's simply the numel() * data width.

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by