メインコンテンツ

addGlassCatalog

Add new glass catalog to glass library

Since R2026a

Description

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

addGlassCatalog(gl,glassCatalogFile) adds a glass material catalog from the location glassCatalogFile to the glass library gl.

addGlassCatalog(gl,glassCatalogFile,Name=name) specifies the name of the new glass material catalog to add to the glass library gl.

Input Arguments

collapse all

Glass library to which to add a glass material catalog, specified as a GlassLibrary object.

Name and extension of the glass material catalog file, specified as a string scalar or character vector. The glass material catalog file extension format must be .AGF.

Glass material catalog name in the glass library list, specified as a string scalar or character vector. By default, the glass catalog name is the file name without the file path and extension, specified by the glassCatalogFile input argument.

Version History

Introduced in R2026a