Cannot communicate over UDP between Raspberry PI and Simulink using Real-Time UDP Configuration block.
조회 수: 5 (최근 30일)
이전 댓글 표시
MathWorks Support Team
2019년 1월 22일
편집: MathWorks Support Team
2024년 4월 17일
I have a camera that is connected to a Raspberry Pi which is in turn connected to the Internet.
My Desktop machine has no Wi-Fi adaptor. I have a USB adaptor which becomes the access point to connect to my Raspberry Pi.
My goal is to be able to stream video live on Simulink and display the stream using the "To Video Display" block.
I would like to use the UDP protocol to establish the communication between the board and Simulink. I am not able to configure the "Real-time UDP Configuration" block to make this communication possible.
채택된 답변
MathWorks Support Team
2024년 4월 17일
편집: MathWorks Support Team
2024년 4월 17일
Real-Time blocks are intended to be used with real time hardware and/or real time systems.
Instead of using the Real-time UDP Configuration block, it is recommended to use the "UDP Send" and "UDP Receive" blocks to transmit data between Simulink and Raspberry Pi.
Please refer to the following links for additional information:
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Run on Target Hardware에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!