Optical System Design and Analysis
R2026bDesign and simulate optical systems for optics applications using the Optical Design and Simulation Library for Image Processing Toolbox™. The library enables you to create custom optical designs, use bulk glass and coating materials from comprehensive material libraries, import bulk materials, and create custom optical materials and coatings. The library provides visualization tools to visualize optical designs in 2-D and 3-D. Additionally, you can integrate with existing optical designs by importing systems from ZMX files.
You can evaluate optical systems by tracing rays, performing polarization analysis, computing spot diagrams, analyzing aberrations, lens distortion, and field curvature. You can then visualize the results. Additionally, you can optimize optical systems and optical coatings using optimization tools available in the Optimization Toolbox™.
The Optical System Designer app provides an interactive interface for optics and optical system design. You can use the app to design custom optical systems, simulate imported optical systems from ZMX files, and interactively visualize traced rays, spot diagrams, aberrations, distortions, field curvature, and other analysis.
To get started with the Optical Design and Simulation Library for Image Processing Toolbox, see Get Started with Optical Design and Simulation.
You can install the Optical Design and Simulation Library for Image Processing Toolbox from the Add-On Explorer. For more information about installing add-ons, see Get and Manage Add-Ons.

Apps
| Optical System Designer | Design and analyze optical systems (Since R2026a) |
Functions
Topics
Get Started
- Get Started with Optical Design and Simulation
Use optical design and analysis tools to simulate and tune optical system performance for optics applications. - Coordinate Systems in Optics
Understand optics coordinate systems to manipulate positions and orientation of optical systems and their components.
Optical System Analysis
- Analyze Optical System Using Optical System Designer
This example shows how to analyze an optical system that you have designed or imported into the Optical System Designer app. - Create Field Points
Create field point representations of light sources for an optical system. - Configure Ray Sampling in Optical System
Configure ray sampling surface and sampling grid for ray tracing in optics. - Optimize Photographic Zoom Lens Component Positions
This example demonstrates how to use numerical optimization techniques to optimize the positions of zoom groups and achieve a target focal length.
Optical Coatings and Materials
- Apply Optical Coatings
Design, edit, and apply optical coating to optical surfaces. - Load, Create, and Use Optical Materials
Use materials from optical coating and glass libraries, or create custom optical materials. - Analyze Optical Coatings Using Optical System Designer
This example shows how to design and apply anti-reflective optical coatings to an optical system by using the Optical System Designer app. (Since R2026b) - Select Optical Material for Optical System
This example shows how to select optical materials from the glass library and from optical materials in the workspace based on criteria such as refractive index, Abbe number, and supported wavelengths.














