フィルターのクリア

Can Simulink Real-time Send and Receive Data to a Host over Ethernet without involving MATLAB?

3 ビュー (過去 30 日間)
Hi,
I need to figure out if Simulink real time running on a target machine can send and recurve information to/from a host machine that isn't running MATLAB, over Ethernet.
My original plan was to use the "To Instrument" block which works perfectly when running the simulation under Simulink directly and using the real-time sync block in windows. The block doesn't let the model compile, however, so I can't put it on the target it seems.
I've also looked at the Ethernet communication example to connect two targets together, can that be used for my purposes or do both machines have to run the real-time kernel?
My backup idea is to use the C api but I would like to avoid doing that. Any help on the matter is appreciated.

採用された回答

Dimitri MANKOV
Dimitri MANKOV 2024 年 5 月 2 日
Hi Jari,
Thanks for asking! The Simulink Real-Time target machine can communicate via UDP or TCP/IP with any external device supporting these protocols. You can use the corresponding blocks from the Simulink Real-Time library, similar to the example you are referring to.
I hope this is helpful!
Dimitri
  1 件のコメント
Jari
Jari 2024 年 5 月 3 日
This question is so old that I figured out how to build the feature, deployed it in an academy setting, got a job at mathworks, built a generalized version for the robotics system toolbox, and later left mathworks. That was 8 years ago 😅
I appreciate the response though ❤. The question can now be closed.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by