Where To Find This Example

Select Help > Open Examples... from the menus and type either the example name listed above or one of the keywords below.

Or in Version 13 or higher you can open the project directly from this page using this button.

<script src="https://s3.amazonaws.com/downloads.awrcorp.com/gh/ghcommon.bas"
<button class="gh-button gh-projectopen" onclick="runAwrScript('awrGhOpenProject','MTD_LabVIEW_Matlab.emp')">Open Install Example</button>

Design Notes

VSS/LabVIEW Integration Example

This example illustrates the use of a LabVIEW Virtual Instrument (VI) in VSS. It requires the LabVIEW 2013 32-bit Development Environment with the LabVIEW MathScript RT add-on module, as well as Matlab. Co-simulation with LabVIEW 2013 32-bit requires AWRDE 32-bit.

The VSS MTD block implements a Moving Target Detector (MTD) in a radar system. Its functionality is replicated using Matlab code in the function MTD.m. The LabVIEW VI MTD_MathScript.vi uses a MathScript node and the code in MTD.m to implement the same MTD module. Finally, the LabVIEW VI MTD.vi implements the MTD functionality using LabVIEW basic blocks.

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

Note: This example will not run using the LabVIEW Run-Time Environment since the LabVIEW MathScript RT add-on module is not compatible with it.

System Diagram - System Diagram 1

Graph - MTD Output Comparison