Difference between revisions of "Matlab"
From Sensoray Technical Wiki
(→Using Sensoray products with Matlab and Simulink: -simulink) |
(→Examples) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
==Using Sensoray products with Matlab== | ==Using Sensoray products with Matlab== | ||
− | Most Sensoray products have a free | + | 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: |
* [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. [[2600#Matlab|Another example here]] shows how to use Matlab with the model 2600 Industrial I/O via Ethernet family of boards. |
Latest revision as of 15:28, 29 November 2023
[edit] 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:
[edit] 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.