Using MATLAB to interface with Hardware
Ältere Kommentare anzeigen
Is it possible to use MATLAB to control hardware interfaces with simple IOs?
Antworten (1)
Walter Roberson
am 16 Mär. 2011
0 Stimmen
I dunno. I find the basic serial interfaces easy enough to program (at least according to the documentation), but I have seen other people call them too difficult to use. "Simple" is a matter of opinion.
Serial interfaces can be done with basic Matlab. The Data Acquisition Toolbox adds A/D and D/A for a couple of major brands and interface styles, but is not especially strong on USB (not really Mathwork's fault: manufacturers tend to dislike documenting their USB interfaces.) There is also the Instrument Control Toolbox; I am not clear on the distinction between that and Data Acquisition other than that I know Instrument Control adds TCP and UDP.
If you need high bandwidth or low latency, then usually the best thing is to have the I/O board directly on the computer (and consider using Real Time Workshop). Interfacing over USB often leads to bandwidth or latency disappointments.
Video has its own set of issues.
Kategorien
Mehr zu Data Acquisition Toolbox Supported Hardware finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!