フィルターのクリア

How to interface USB port using MATLAB??

10 ビュー (過去 30 日間)
Haksun Lee
Haksun Lee 2012 年 6 月 29 日
How are you all my Matlab friends :) here you are another problem in matlab : I wanna learn how to communicate with usb PORT?
s=serial('COM1') fopen(s)
I know that above source facilitates usb port open, but I get the error 'Error using ==> serial.fopen at 1' why not? Do I change my windows setting?
Please help as strong as you did before .. thank you

回答 (1 件)

Walter Roberson
Walter Roberson 2012 年 6 月 29 日
The serial port might not be named COM1 . See http://www.mathworks.com/help/techdoc/ref/instrfindall.html
Note: USB devices must be connected and turned on before MATLAB is started in order for the devices to be found.

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by