A class wrapper for the MODTRAN 5 atmospheric radiative transfer code.


Updated 28 Oct 2016

From GitHub

View License on GitHub

MODTRAN is a FORTRAN code for solving the radiative transfer problem in the Earth's atmosphere. This Matlab class wrapper encapsulates a run of a MODTRAN 5 case. It provides methods for reading and writing MODTRAN case (tape5) files, creating and modifying case files, calling MODTRAN and reading the MODTRAN results. There are also a number of methods for plotting MODTRAN outputs. The wrapper does not (as yet) provide a GUI and MODTRAN itself is not included.
In order to use the wrapper you will need a MODTRAN 5 distribution, which can be purchased from Ontar Corporation. You will also need a Matlab installation that supports the new Matlab class files. The new class file was introduced around the 2010a release.
To report bugs or make a contribution, visit

Cite As

Derek Griffith (2023). derekjgriffith/matlab-modtran-5 (, GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2010a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes

Development has be moved to Github.
Now linked directly to Github repo.
Functional enhancements, bug fixes and improved cross-platform compatibility.

Extensions and bug fixes. For details see

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.