Serial Flush Simulink Android
Ältere Kommentare anzeigen
Hi
Is there a way to Flush the incomming serial data in Simulink?
I am using Simulink Support Packages for Android and trying to receive serial data on android model...
Right now the problem is some times data comming is corrupted, so I want to Flush the stream of data...
If you have another alternate solution that would be great as well...
I am sending 5 unit16 (10 uint8) to android device...Right now some times it works some times no.. that because the data is becomming corrupted some times...
Antworten (1)
Sutanu Maiti
am 6 Aug. 2020
0 Stimmen
You may use the status port value of the Serial Receive block of Android. Use data only if status is 1.
1 Kommentar
Alireza Ghaderi
am 8 Aug. 2020
Kategorien
Mehr zu Android Devices finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!