Is there a way around "USB" device communication without "Instrument Control" library?
6 ビュー (過去 30 日間)
古いコメントを表示
I am trying to communicate with a Cypress PSoC4 device using the "Cypress Bridge Controller", which is essentially a USB device.
0 件のコメント
採用された回答
Star Strider
2015 年 6 月 16 日
There might be.
First, search the Hardware Support page to see if a support package already exists. (While you’re at it, type webcam in the Command Window for directions on how to get the Webcam Support Package, just for fun!) Those can all be used with MATLAB, although some may require Simulink.
Otherwise, it depends on how the USB interface is configured. I have a few consumer biomedical devices (EKG, pulse oximeter) that have USB interfaces that I’ve used successfully with MATLAB without the Instrument Control Toolbox. I have Simulink, but they don’t require it.
When I plugged them in for the first time, I let Windows find drivers for them, then armed with that information, searched online for the USB interface chips, and found the PDF documentation that allowed me to communicate with them. (They created virtual serial ports.) I had to write my own communication routines, but the native MATLAB serial communication functions were adequate to let me communicate with them and download the signals and derivative information they acquired and transmitted.
It was actually fun for me, but then my definition of ‘fun’ is not universally shared!
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Instrument Control Toolbox Supported Hardware についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!