example code for digital I/O on linux?

2 次查看(过去 30 天)
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 个)

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

产品


版本

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by