Real-Time Windows Target (now Simulink Desktop Real-Time) and UDP?

I want to transmit data between two RTWT via UDP. When I clicked "Connect to target",there was an error. "The board "Standard Devices UDP Protocol" has no Analog Output channels." I have previous succesful experiences sending data via UDP in "normal mode". How to solve this error? Thanks!

 Accepted Answer

You should use the Packet Input, Packet Output, Stream Input, Stream Output blocks for UDP communication. The choice of the particular block depends on whether your data are binary or text and whether you want to send or receive.

More Answers (0)

Asked:

on 28 Nov 2012

Edited:

on 28 Sep 2022

Community Treasure Hunt

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

Start Hunting!