zmximport
Syntax
Description
Add-On Required: This feature requires the Optical Design and Simulation Library for Image Processing Toolbox add-on.
[
returns the materials used in the optical system along with their resolved entries in the
glass library.opsys,materialCatalogInfo] = zmximport(filename)
[
returns the mapping between surface indices in the imported optical system and the ZMX
file.opsys,materialCatalogInfo,surfaceIndexMap] = zmximport(filename)
Examples
Input Arguments
Output Arguments
Limitations
This function supports only sequential mode optical systems. Nonsequential mode optical systems are not supported. For more information on the modes of optical systems, see the explanation of the
Modefield of theinfoargument of thezmxinfofunction.This function supports surfaces of only types
"STANDARD"(standard),"XOSPHERE"(extended odd asphere),"XASPHERE"(extended asphere), and"EVENASPH"(even asphere). Surfaces of other types are not supported.Surfaces of type
"XOSPHERE"of order greater than 20 are not supported.Surfaces of type
"XASPHERE"or"EVENASPH"of order greater than 10 are not supported.Composite surfaces created using 2 or more surfaces are not supported.
Field points defined by field angles, object height, and real image height are supported. Field points defined by paraxial image height are not supported.
Version History
Introduced in R2026a
