updateSemiDiameters
Syntax
Description
Add-On Required: This feature requires the Optical Design and Simulation Library for Image Processing Toolbox add-on.
[
updates the semi-diameters of each surface of the optical system
constraintResult,maxFieldAngle] = updateSemiDiameters(opsys,constraintType,constraintValue)opsys using the constraint value
constraintValue of type constraintType.
[___] = updateSemiDiameters(___,
specifies options using one or more name-value arguments in addition to the arguments from
the previous syntax. For example, Name=Value)ApertureStopSurfaceIndex=4 specifies
to update the semi-diameter of the aperture surface at index 4 of the
optical system.
Examples
Input Arguments
Name-Value Arguments
Output Arguments
More About
Tips
Verify the output constraint value
constraintResultand the maximum field anglemaxFieldAngleagainst the specified constraint and target field angle. TheupdateSemiDiametersobject function updates the surfaces of the elements of the optical systemopsysto best match the specified constraints, but, depending on the initial system and constraints, it might not match them identically.
Version History
Introduced in R2026a
