Efficient way to dispatch a pack of values to vector of uint8 in Simulink style
Afficher commentaires plus anciens
Hello,
I have a low-lever function for calculating CRC-8 SAE J1850 to be sent over CAN.
This function takes a vector of [uint8 x N].
But in my model I have different entry variables (uint8, uint16 and uint32).
I'm searching for elegant way to dispatch model variables to a vector of corresponding [uint8 x N].
I've tried to use a Concat block and the Matlab function, but got an error while propagating ufix values.

Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Simulink dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!