fscanf in Simulink

I receive some strings in UDP. I can see them using fscanf. But I would like to have them in Simulink environment. I tried "UDP Receive" block, but it seems that it's different from fscanf. Is there any way that I can monitor the strings, received via UDP, in Simulink?

Risposte (2)

Fangjun Jiang
Fangjun Jiang il 23 Nov 2011

0 voti

You may be able to view the data. Check to see if they are the ASCII value of the corresponding characters.

1 Commento

raymon saadalla
raymon saadalla il 21 Giu 2017
yes I have the samw problem and it is an ASCII value. how can i read it in simulink. I use fscanf in mfile and it works great any idea how to do it in simulink

Accedi per commentare.

Categorie

Scopri di più su Modeling in Centro assistenza e File Exchange

Richiesto:

il 23 Nov 2011

Commentato:

il 21 Giu 2017

Community Treasure Hunt

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

Start Hunting!

Translated by