measure data size in simulink
Mostra commenti meno recenti
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
Risposta accettata
Più risposte (1)
Fangjun Jiang
il 14 Lug 2011
1 voto
In your Simulink model, click menu Format>Port/Signal Displays, check "Port Data Types" and "Signal Dimensions", you will see the data type and dimension of the signals between subsystems. If a particular signal is double and its dimension is 3 (if it is one, it is not displayed), then the data size (according to you) would be 24 bytes (a double data takes 8 bytes).
Keep in mind though, the signal line in the Simulink model represents a data flow, not a physical signal line.
1 Commento
Luhur
il 14 Lug 2011
Categorie
Scopri di più su Signal Attributes and Indexing in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!