openEMS/matlab/WriteOpenEMS.m

5 lines
141 B
Matlab

function WriteOpenEMS(filename, FDTD, CSX)
openEMS.FDTD = FDTD;
openEMS.ContinuousStructure = CSX;
struct_2_xml(filename,openEMS,'openEMS');