addCoating
Description
Add-On Required: This feature requires the Optical Design and Simulation Library for Image Processing Toolbox add-on.
addCoating(
specifies the side of the lens surfaces to which to apply the coating.opsys,oc,CoatingSide=surfaceside)
Examples
Input Arguments
Tips
If you want to apply a coating to a only single lens or mirror element in an optical
system, you must set the Coatings property of the corresponding
LensElement or
Mirror object,
respectively. For example, to specify the front surface coating of the second element in
the optical system opsys, as the broadband AR coating
BBAR_4l, enter:
Lens1 = opsys.Components(2) Lens1.Coatings = BBAR_4l;
Note that the back surface of the component remains uncoated. For more information about applying optical coatings to optical system components, see Apply Optical Coatings.
Version History
Introduced in R2026a
