Difference between revisions of "Matlab"
From Sensoray Technical Wiki
(→Using Sensoray products with Matlab) |
(→Example) |
||
Line 5: | Line 5: | ||
* [http://www.mathworks.com/help/matlab/using-c-shared-library-functions-in-matlab-.html Using C shared library functions in Matlab]. | * [http://www.mathworks.com/help/matlab/using-c-shared-library-functions-in-matlab-.html Using C shared library functions in Matlab]. | ||
− | === | + | ===Examples=== |
− | [[826#Matlab|This example]] shows how to use Matlab to interact with a model 826 PCIe multi-function I/O board. | + | [[826#Matlab|This example]] shows how to use Matlab to interact with a model 826 PCIe multi-function I/O board. Another example [[2600#Matlab|here]] shows how to use Matlab with the model 2600 Industrial I/O via Ethernet family of boards. |
Revision as of 15:20, 29 November 2023
Using Sensoray products with Matlab
Most Sensoray products have a free software development kit (SDK) 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:
Examples
This example shows how to use Matlab to interact with a model 826 PCIe multi-function I/O board. Another example here shows how to use Matlab with the model 2600 Industrial I/O via Ethernet family of boards.