CustomMetric
R2026bDescription
Add-On Required: This feature requires the Optical Design and Simulation Library for Image Processing Toolbox add-on.
A CustomMetric object defines a custom metric using a custom
function for use in tolerance and sensitivity analysis.
Creation
Syntax
Description
creates a custom metric defined by the function handle
metric = optics.metric.CustomMetric(fcnHandle)fcnHandle.
passes the additional input arguments metric = optics.metric.CustomMetric(fcnHandle,arg1,...,argN,Name=Value)arg1,...,argN to the custom
metric function.
specifies additional options using name-value arguments.metric = optics.metric.CustomMetric(___,Name=Value)
Input Arguments
Name-Value Arguments
Properties
Object Functions
evaluateMetric | Evaluate metric function |
Examples
Version History
Introduced in R2026b