Examples

To launch EMode, initialize a simulation, and check out an active license:

  • Python
  • MATLAB
import emodeconnection as emc
em = emc.EMode()
em = emodeconnection();

Next, EMode functions are called with:

  • Python
  • MATLAB
em.function_name(keyword_1 = value_1, keyword_2 = value_2, ... )
em.function_name(keyword_1 = value_1, keyword_2 = value_2, ... );

Close EMode and check in the license with:

  • Python
  • MATLAB
em.close()
em.close();

Example Scripts

EMode2D Scripts
EMode3D Scripts