how can I communicate with USB port in Matlab?

4 ビュー (過去 30 日間)
sona
sona 2011 年 12 月 16 日
I have a project to create a Data acquisition Board with PIC and using USB to transfer data to PC.and I decided to use Matlab for displaying the data,does any one know how can I communicate with USB port in Matlab?
Thanks

回答 (1 件)

Walter Roberson
Walter Roberson 2011 年 12 月 16 日
MATLAB does not offer any mechanism to communicate with USB hubs.
If the device you need to communicate with operates as a virtual serial port, then MATLAB will attempt to use the manufacturer's device driver to communicate with the device using serial port objects.
  1 件のコメント
Chirag Gupta
Chirag Gupta 2011 年 12 月 16 日
You should be able to find some Matlab File Exchange entries for communication with a PIC via serial (as Walter suggests above).
http://www.mathworks.com/matlabcentral/fileexchange/20419-14-serial-communication-between-pic16f628a-and-matlab

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

カテゴリ

Help Center および File ExchangeData Acquisition Toolbox Supported Hardware についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by