The new Lumerical application programming interface (API) allows users to drive Lumerical applications from within MATLAB and take advantage of the robust optimization routines available from the MATLAB Optimization Toolbox.
In this example, we will demonstrate how MATLAB can be used to drive a multi-variable nonlinear optimization of a grating coupler in FDTD Solutions via Lumerical’s Automation API. In addition, we will demonstrate how to setup a MATLAB function based on arbitrary simulation parameters to specify a nonlinear constraint for the optimization.
While we focus on a specific example of a grating coupler in FDTD, the target audience includes anyone who is interested in driving and controlling Lumerical applications directly from MATLAB.
Here is a complete list of the related interoperability commands: https://kb.lumerical.com/en/index.html?ref_scripts_interoperability.html