Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This example illustrates co-simulation with LabVIEW and MATLABin MATLAB® in VSS. Co-simulation with LabVIEW is achieved by implementing the required functionality into a LabVIEW Virtual Instrument (VI); the Matlab implementation is done through a .m file.

...

- LabVIEW Mathscript implementation: uses MTD_MathScript.vi. Requires an installation of LabVIEW 32-bit Development Environment with the LabVIEW MathScript RT add-on module (the latter is available only for 32-bit installations of LabVIEW). Mathscript is a native compiler for .m files developed in MATLABor MATLAB® or GNU Octave software.

- MATLAB implementation: uses MTD.m. This implementation requires an installation of MATLABsoftwareMATLAB® software.

In this project, the same input signal is passed through the VSS MTD block, the LABVIEW block running the MTD.vi, the LABVIEW block running MTD_MathScript.vi and the MATLAB block calling the MTD.m function. The outputs are plotted and compared to verify they are all identical.

...