Optical System Design and Analysis
Design and simulate optical systems 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 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. - Coordinate Systems in Optical Design
Understand coordinate systems to manipulate positions and orientation of optical systems and their components. - Create Field Points
Create field point representations of light sources for an optical system. - Load, Create, and Use Optical Materials
Use materials from optical coating and glass libraries, or create custom optical materials. - 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.
Optical System Analysis
- Configure Ray Sampling in Optical System
Configure ray sampling surface and sampling grid for ray tracing in optical system. - Analyze Optical System Using Optical System Designer
This example shows how to analyze an optical system using the Optical System Designer app. - 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
- Apply Optical Coatings
Design, edit, and apply optical coating to optical surfaces. - Optimize Coating Design for Longpass Optical Filter
This example demonstrates how to design a 550 nm longpass optical filter, accounting for material properties and manufacturing limits using the Optimization Explorer (Optimization Toolbox) app.






