필터 지우기
필터 지우기

Simulink UDP data split

조회 수: 1 (최근 30일)
Lucas Weber
Lucas Weber 2018년 11월 28일
댓글: Dong nguyen 2019년 8월 31일
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
Dong nguyen
Dong nguyen 2019년 8월 31일
Lucas Weber! can you send me code UDP in Unity connect Simulink?
thank you!

댓글을 달려면 로그인하십시오.

답변 (1개)

Koundinya
Koundinya 2018년 12월 10일
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.

카테고리

Help CenterFile Exchange에서 Messages에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by