Raspberry Pi 4Bで検出された数値​をリアルタイムでSi​mulink(Win​dows)に利用する​方法

8 Ansichten (letzte 30 Tage)
SATO NAOKI
SATO NAOKI am 17 Jun. 2021
Kommentiert: takemoto am 17 Jun. 2021
こんにちは。
Raspberry Pi 4Bで検出された測定値をリアルタイムでSimulink(2009a)に送信して利用したいと思っているのですが、うまくいきません。
Raspberry PiとホストPCをイーサネットケーブルで接続しUDP通信を試してみたのですが、エラーとなってしまいます。
なにか良い方法はありますでしょうか。
  2 Kommentare
takemoto
takemoto am 17 Jun. 2021
Raspberry Piがスタンドアロンで動作していて、PC側にUDP経由でデータを送信する、ということであれば、以下の様なUDP受信用のブロックを使用する方法が考えられます。
同様の機能は、Instrument Control Toolbox、Simulink Desktop Real-Time等からも提供されています。Raspberry Pi 側から、UDPパケットを送信する場合、以下のサポートパッケージが使える可能性があります。
https://jp.mathworks.com/help/supportpkg/raspberrypi/ref/udpsend.html

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Produkte


Version

R2009a

Community Treasure Hunt

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

Start Hunting!