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

E-mail

OSI Certified

The Technology Transfer and Partnerships Office
Matlab – CodeV Toolkit

Matlab-CodeV 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 – CodeV Toolkit Goals

The Matlab-CodeV toolkit is a set of Matlab scripts and functions which enable rapid transfer of optical system and performance data into the Matlab environment from CodeV 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.

Project Goals

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

Functional Goals

  1. The Matlab - CodeV toolkit consists of multiple Matlab "m" files, which either command or query information from CodeV using the Microsoft COM (component object module) interface of the Windows operating system.
  2. TThe toolkit establishes the link, and allows the user to operate CodeV from Matlab either by real-time command line entry, or through scripted macros.
  3. TSimilar toolkits have been established by the principle author for OSLO and Zemax optical design software.

Evolvability Goals

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

Usability Goals

I hope the user finds the features simple and intuitive. This Matlab-CodeV Toolkit has had a regular user base at NASA, and many of the obvious problems have been vetted out. The similarity between this and the other toolkits 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 – CodeV Toolkit NOSA

Matlab – CodeV Toolkit Software Package    



NASA logo - link to nasa.gov
  • Page Last Updated: October 31, 2018
  • Page Editor: Adil Anis
  • NASA Official: Enidia Santiago-Arce