This section describes the various ways that MATLAB TM can be used with Lumerical's software.
Notes
- MATLAB libraries are no longer packaged with the Lumerical Applications
- We still support MATLAB file load and save for versions 7 and greater
- See this KB for more information.
Script integration
The MATLAB script integration feature allows MATLAB commands to be called directly from the Lumerical scripts. This allows you to access MATLAB's powerful analysis and visualization tools while working from within the Lumerical environment.
See MATLAB integration setup if you experience any problems using this feature.
MATLAB API
The API allows you to control Lumerical's software from within the MATLAB environment. Learn more about the API in this grating coupler optimization example.
Read/Write .mat files
Lumerical can save and load data to the commonly used .mat file format, making it easy to do post processing with MATLAB.
Export figure to MATLAB
Line and surface plots within Lumerical can easily be exported to MATLAB. See the MATLAB export section of Using the data visualizer and figure windows.
See also
MATLAB script integration – Ansys Optics
The following pages provide useful tips for visualizing Lumerical data with MATLAB.