how to take a value from matlab workspace

2 ビュー (過去 30 日間)
ELDHO JACOB
ELDHO JACOB 2013 年 12 月 4 日
回答済み: Walter Roberson 2013 年 12 月 4 日
I am working on a project based on image processing using matlab. I want to know how to take a value generated in matlab workspace to outside via serial port so that I can control a system using the generated value. Also please tell me is there any other method other then using the serial port.

回答 (2 件)

Sabarinathan Vadivelu
Sabarinathan Vadivelu 2013 年 12 月 4 日
Try fwrite
  1 件のコメント
Walter Roberson
Walter Roberson 2013 年 12 月 4 日
or fprintf()

サインインしてコメントする。


Walter Roberson
Walter Roberson 2013 年 12 月 4 日
There are a number of other methods of communication of values for controlling something. Some of them include:
  • traditional hard-wired ethernet
  • "firewire"
  • USB
  • "thunderbolt"
  • WiFi
  • BlueTooth
  • NFC
  • encode the data as sound and send it to an audio port
  • get a DAQ (Digital / Analog convertor)
  • parallel port (not recommended for new projects)
  • get a signal generator and communicate with it using one of the above

カテゴリ

Help Center および File ExchangeImage Processing Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by