Communicating with MATLAB

DIAdem 2018 Help


Edition Date: June 2018
Part Number: 370858P-01
View Product Info

DOWNLOAD (Windows Only)


DIAdem 2017 Help
DIAdem 2018 Help
DIAdem 2019 Help
DIAdem 2020 Help
DIAdem 2020 SP1 Help

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

Copy example files

Click a Filename to Load this File into DIAdem

MatLabTest1.vbsScript file
MatLab_FFTTest1.mMscript 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.

WAS THIS ARTICLE HELPFUL?

Not Helpful