axlOutputResult
axlOutputResult(g_value[t_outputName] ) =>t/nil
Description
Specifies the value of an output in an OCEAN script file. This function only assigns a value to a measure, but does not add it to the script. You need to use the axlAddOutputs function to add or define output measures in an OCEAN script.
It is recommended to initialize the output values before calling this function.
Arguments
Value Returned
Examples
The following OCEAN script sets the value of the maxOfOut output to 110 and minOfOut to 0.
$ cat myMeas.ocn
aVar = 55
axlOutputResult( aVar*2 "maxOfOut" )
axlOutputResult( 0 "minOfOut" )
For details on how to load an OCEAN script file for a measurement, refer to Loading an OCEAN or a MATLAB Measurement.
Related Topics
Return to top