メインコンテンツ

Optical System Designer

Design and analyze optical systems

Since R2026a

Description

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

The Optical System Designer app enables you to design, modify, simulate, and analyze optical systems. Using the app, you can:

  • Create a new optical system or load an existing optical system from a ZMX file or the MATLAB® workspace.

  • Visualize the optical system in 2-D or 3-D.

  • Design a new optical system using various components, materials, and light sources, or modify an existing optical system.

  • Simulate ray tracing, and focus the optical system.

  • Analyze the optical system using spot diagrams, ray and chromatic aberration analysis, lens distortion analysis, and field curvature analysis.

  • Export the designed optical system as an opticalSystem object to the workspace or as a function you can use to create similar optical systems.

Optical System Designer app

Open the Optical System Designer App

  • MATLAB Toolstrip: On the Apps tab, under Image Processing and Computer Vision, select the Optical System Designer app icon.

  • MATLAB command prompt: Enter opticalSystemDesigner.

Programmatic Use

opticalSystemDesigner opens the Optical System Designer app to a new session.

opticalSystemDesigner(opsys) opens the Optical System Designer app, loading the opticalSystem object opsys into the app.

opticalSystemDesigner(zmxfile) opens the Optical System Designer app, loading the optical system from the ZMX file zmxfile into the app. Specify the filename, zmxfile, of the ZMX file, as a string scalar or character vector. You can specify the filename as the absolute or relative path to a ZMX file.

opticalSystemDesigner close closes all instances of the Optical System Designer app.

Version History

Introduced in R2026a