Getting data from array socket
Afficher commentaires plus anciens
Hi, I have an array from data socket and I would like to find the value 53, then if its find, I need to find the next byte if its 0 or 1 or 2 or 3
header = fread(ropaRadarReceive,bytesToRead);
After finding the values 53, then either 0, 1, 2, 3, I need to section that array to hold the array data after 53, then 0 or 1 or 2 or 3
something like that
data = fread(header,53) if data is 0 get data after 0 till the next 53 if data is 1 get data after 1 till the next 53 ..etc
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Logical 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!