主要内容

coatingMaterialLibrary

Optical coating material library

Since R2026a

    Description

    Add-On Required: This feature requires the Optical Design and Simulation Library for Image Processing Toolbox add-on.

    Use the CoatingMaterialLibrary object to load a library of optical materials for use as optical coating layers.

    To add a new optical coating material to the coating material library, use the addCoatingMaterial object function. To remove an optical coating material from the coating material library, use the removeCoatingMaterial object function. To query the coating material library, use the pickCoatingMaterial function. Use the restoreDefaultCoatingMaterialLibrary function to restore the default coating material library.

    Creation

    Description

    cml = coatingMaterialLibrary loads the default optical coating material library.

    Properties

    expand all

    This property is read-only.

    Coating material library table listing the available optical materials for use with optical coatings, represented as a table. The table contains these columns:

    • Index — Index representing the order of the optical coating material in the library

    • Name — Name of the optical coating material

    • File — File location of the MAT file from which coatingMaterialLibrary imports the optical coating material

    Use the pickCoatingMaterial function to query the materials in the coating material library and list their optical properties.

    This property is read-only.

    All available coating materials in the coating material library, represented as an N-by-1 vector of opticalMaterial objects. N is the total number of coating materials in the coating material library. Each element of the array represents a coating material, listed in the same order as in the CoatingMaterialCatalogTable table.

    Object Functions

    addCoatingMaterialAdd new optical coating material to optical coating material library
    removeCoatingMaterialRemove optical coating material from optical coating material library

    Version History

    Introduced in R2026a