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!