Difference between revisions of "Matlab"
From Sensoray Technical Wiki
(→Using Sensoray products with Matlab and Simulink: +link to code example) |
|||
Line 1: | Line 1: | ||
==Using Sensoray products with Matlab and Simulink== | ==Using Sensoray products with Matlab and Simulink== | ||
− | Most Sensoray products have a free SDK (software development kit) that includes an API (application programming interface) library that can be | + | Most Sensoray products have a free SDK (software development kit) that includes an API (application programming interface) library that can be accessed from Matlab programs. To use a Sensoray product with Matlab, first install the driver (typically included in the Sensoray SDK) and then use the API library (a DLL) as a Matlab shared library. This Mathworks page links to articles that explain the process and will help you get started: |
− | + | * [http://www.mathworks.com/help/matlab/using-c-shared-library-functions-in-matlab-.html Using C shared library functions in Matlab]. | |
− | [ | + | ===Example=== |
+ | [[826#Matlab|This example]] shows how to use Matlab to interact with a model 826 PCIe multi-function I/O board. |
Revision as of 10:32, 4 December 2017
Using Sensoray products with Matlab and Simulink
Most Sensoray products have a free SDK (software development kit) that includes an API (application programming interface) library that can be accessed from Matlab programs. To use a Sensoray product with Matlab, first install the driver (typically included in the Sensoray SDK) and then use the API library (a DLL) as a Matlab shared library. This Mathworks page links to articles that explain the process and will help you get started:
Example
This example shows how to use Matlab to interact with a model 826 PCIe multi-function I/O board.