Simulink UDP data split

6 Ansichten (letzte 30 Tage)
Lucas Weber
Lucas Weber am 28 Nov. 2018
Kommentiert: Dong nguyen am 31 Aug. 2019
Hi,
i´m trying to send some data from Unity3D to Simulink and it works good. I send multiple data with a packet. The only thing i don´t know is how can i "split" the data so i can do some other calculations with it for example.
Below is a picture with the UDP receiver and the display which shows some values.
What do i need for the seperation of this data? Signals.PNG
Thanks in advance.
  1 Kommentar
Dong nguyen
Dong nguyen am 31 Aug. 2019
Lucas Weber! can you send me code UDP in Unity connect Simulink?
thank you!

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Koundinya
Koundinya am 10 Dez. 2018
Assuming that output Data signal from the UDP receive block is a vector, you could try using the Simulink demux block to 'split' the vector data to extract individual components.
To obtain a specific component from the Data signal use the Simulink Selector block.

Kategorien

Mehr zu View and Analyze Simulation Results finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by