How to incorporate a Custom Scalar into a MATLAB Custom Loss Plugin Script?

« Go Back

Information

 
Requirements and Setup
Place the MATLAB plugin script in the scenario folder and load into the Custom Models tab of the Scenario->RF->Environment properties.
Change the registered input to reference the facility of interest in the Source and RefSource attributes:

  e.g. altitudeAboveTerrain = {'ArgumentName','altitudeAboveTerrain','Name',...
   'Trajectory(Cartographic).Detic.Terrain.LLA.Altitude(AboveTerrain)',...
            'ArgumentType','Input','Source','Facility/Facility2', 'RefSource',...
   'Facility/Facility2','Type','Scalar'};

 
Instructions
The MATLAB plugin script takes the height above ground (or altitude above terrain) for a facility and converts the value to a custom loss in dB.