How to send data over tcp to remote server from a simulink model

4 ビュー (過去 30 日間)
Ashutosh Sharma
Ashutosh Sharma 2021 年 3 月 4 日
回答済み: Mark McBroom 2021 年 3 月 6 日
I plan to simulate a ieee 9 bus system and use PMU model to collect the phasor data. The collected data needs to be sent over actual internet to another remote ip address that I give to the simulink model. What resources do i need to refer for implementing this?
Below is an image to give idea of what i want to implement.

採用された回答

Mark McBroom
Mark McBroom 2021 年 3 月 6 日
The easiest way to do this is to use the UDP blocks in either the Instrument Control Toolbox or the Embedded Coder Toolbox. Otherwise, you'll need to create your own custom Simulink blocks, which will require you writing the UDP send/receive code in C/C++.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDevelopment Computer Setup についてさらに検索

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by