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

1 回表示 (過去 30 日間)
Haruto Yamazaki
Haruto Yamazaki 2020 年 1 月 7 日
回答済み: Toshinobu Shintai 2020 年 1 月 9 日
MATLABから送られた数字を元に,下記のようなコマンドがvisual studio内で実行できるようなプログラムを考えています.
if(input_from_MATLAB>0){
コマンド実行}
Serial通信で文字を受信,送信するようなイメージです.
方法等,ご教授していただければ幸いです.
よろしくお願いします.

採用された回答

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeInterface-Based Instrument Communication についてさらに検索

Community Treasure Hunt

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

Start Hunting!