Communicating with MATLAB
- Updated2024-09-12
- 2 minute(s) read
(Using Interfaces | Version 10.0) > Communicating with MATLAB
|
Communicating with MATLAB |
This example shows how DIAdem works with a MATLAB over the OLE interface. First DIAdem generates data, then transfers this data to MATLAB, and finally starts a Mscript in MATLAB. This Mscript calculates a FFT for the transferred values. MATLAB transfers the result data back to DIAdem. DIAdem also calculates a FFT and displays the results of both calculations DIAdem VIEW.
Start example
Click a Filename to Load this File into DIAdem
| MatLabTest1.vbs | Script file |
| MatLab_FFTTest1.m | Mscript for MATLAB |
![]() | Note For this example MATLAB must be installed on your computer. |
![]() | Note When this example starts, DIAdem loads example files and overwrites existing data and layouts. |
![]() | Note To receive CodeCompletion for ADO in the script editor, select the MATLAB library in the Registered Type Libraries dialog box. |
