MATLABからvisual studio2019に文字や数字を送りたい

4 Ansichten (letzte 30 Tage)
Haruto Yamazaki
Haruto Yamazaki am 7 Jan. 2020
MATLABから送られた数字を元に,下記のようなコマンドがvisual studio内で実行できるようなプログラムを考えています.
if(input_from_MATLAB>0){
コマンド実行}
Serial通信で文字を受信,送信するようなイメージです.
方法等,ご教授していただければ幸いです.
よろしくお願いします.

Akzeptierte Antwort

Toshinobu Shintai
Toshinobu Shintai am 9 Jan. 2020
いわゆるソフトウェア間の通信をしたいということであれば、TCP/IPで情報をやり取りするのがお手軽です。
MATLAB側は以下のリンク先ドキュメントのコマンドを使うとできます。
Visual Studio側は別途調べてもらえますでしょうか。

Weitere Antworten (0)

Kategorien

Mehr zu 変数のスコープ指定と名前の生成 finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!