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();

EMode2D Scripts

EMode3D Scripts