example code for digital I/O on linux?

2 ビュー (過去 30 日間)
Matt Panichello
Matt Panichello 2021 年 12 月 23 日
編集済み: Matt Panichello 2021 年 12 月 23 日
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 Center および File ExchangeIntroduction 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