Photonics

Photonics

Topics related to Lumerical and more.

Controll Lumerical by using Matlab or Python

    • Soufiane El kabil
      Subscriber

      hello,
      I am using FDTD simulation to model samples with varying thicknesses. I would like to inquire if there is a method or a MATLAB script that can be utilized to change the sample thickness automatically, without the need for manual adjustments.

    • Amrita Pati
      Ansys Employee

      Hi Soufiane,

      You can do that using the Lumerical Scripting Language, by writing the code in the Script File Editor. Lumerical offers a large number of script commands that can easily help you run/post-process your simulations. This will be the simplest approach in my opinion. You may refer to these introductory videos on Ansys Innovation Courses to get started: Lumerical Scripting First Lesson. Lumerical also offers Python and MATLAB Integration, please refer to the following links for more information:

      1. Python API Overview
      2. MATLAB Script Integration

      But like I mentioned, the first option would be the most straightforward. And I feel the Lumerical's Scripting Language is very easy to use if you know MATLAB Scripting already.

      Regards,
      Amrita

Viewing 1 reply thread
  • The topic ‘Controll Lumerical by using Matlab or Python’ is closed to new replies.