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'};
|