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

조회 수: 3 (최근 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 CenterFile Exchange에서 変数のスコープ指定と名前の生成에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!