example code for digital I/O on linux?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi, I'd like to send and read in digital signals in Matlab R2021a running on Ubuntu 20.04.02.
I'm working with an PCIe-6343 I/O device from NI (https://www.ni.com/en-us/support/model.pcie-6343.html).
As this ticket notes, the Data Acquisition Toolbox is not supported on Linux. As a workaround, Mathworks recommends:
"To work around this issue, you can use MEX or LOADLIBRARY. For example, if your hardware supports the “comedi” Linux DAQ generic interface, please refer to the following MATLAB Central File Exchange submission:"
I'm not familiar with MEX, LOADLIBRARY, or comedi and am not really sure how to parse this or where to begin. Would anyone be able to provide a more detailed guide for accomplishing digital I/O within matlab on linux, particularly for NI devices?
Thanks in advance for any help.
0 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!