MATLABからvisual studio2019に文字や数字を送りたい
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Haruto Yamazaki
le 7 Jan 2020
Réponse apportée : Toshinobu Shintai
le 9 Jan 2020
MATLABから送られた数字を元に,下記のようなコマンドがvisual studio内で実行できるようなプログラムを考えています.
if(input_from_MATLAB>0){
コマンド実行}
Serial通信で文字を受信,送信するようなイメージです.
方法等,ご教授していただければ幸いです.
よろしくお願いします.
0 commentaires
Réponse acceptée
Toshinobu Shintai
le 9 Jan 2020
いわゆるソフトウェア間の通信をしたいということであれば、TCP/IPで情報をやり取りするのがお手軽です。
MATLAB側は以下のリンク先ドキュメントのコマンドを使うとできます。
Visual Studio側は別途調べてもらえますでしょうか。
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Data Acquisition Toolbox Supported Hardware dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!