Skip to section navigationSkip to content

Open Source Software

Contact Us:

NASA's Goddard Space
Flight Center

Code 504
8800 Greenbelt Road
Greenbelt, MD 20771


OSI Certified

The Technology Transfer and Partnerships Office
Matlab – OSLO Toolkit

Matlab-OSLO toolkit: software enabling rapid transfer of optical modeling data into the Matlab environment for custom performance analyses, integrated modeling, wavefront sensing and control operations, and systems modeling.

Matlab – OSLO Toolkit Goals

The Matlab-OSLO toolkit is a set of Matlab scripts and functions which enable rapid transfer of optical system and performance data into the Matlab environment from OSLO optical software. Typical applications are extracting prescription data into Matlab to confirm consistency of various delivered models, perturbing the models and performing various analyses such as ray tracing or generation of point spread functions in support of integrated modeling activities (i.e. thermal and structural stability predictions), and enabling a Matlab driven optical model for integrated system-level modeling of wavefront sensing and control.

These goals are listed below.

Project Goals

Purpose is to support modeling and analysis of perturbed and/or active optical systems in OSLO, from a Matlab based environment.

Functional Goals

  1. The Matlab - OSLO toolkit consists of multiple Matlab "m" files,which either command or query information from OSLO using the Microsoft DDE (dynamic data exchange) link of the Windows operating system.
  2. The toolkit establishes the link, and allows the user to operate OSLO from Matlab either by real-time command line entry, or through scripted macros. Additionally, DDE allows the user to go back and forth from Matlab to OSLO since both are running on the desktop.
  3. Similar toolkits have been established by the principle author for Code V and Zemax optical design software.

Evolvability Goals

This toolkit has similar function names as the Matlab-CodeV and Matlab-Zemax toolkits, written for other optical design software packages. The long term intention is to make lens file conversion from OSLO to CodeV and/or OSLO to Zemax a part of the toolkit.

Usability Goals

I hope the user finds the features simple and intuitive. The Matlab-OSLO Toolkit is the most extensive when compared to the similar Matlab-CodeV and Matlab-Zemax toolkits. The similarity between all three makes a simple and common user interface and intuitive function naming from Matlab to optical models in each of three software environments.

Software Packages

This software is released under the terms and conditions of the NASA Open Source Agreement (NOSA) Version 1.1 or later.
Matlab – OSLO Toolkit NOSA

NASA logo - link to
  • Page Last Updated: October 24, 2019
  • Page Editor: Adil Anis
  • NASA Official: Darryl Mitchell