openEMS/matlab/SetDiracExcite.m

4 lines
72 B
Matlab

function FDTD = SetDiracExcite(FDTD)
FDTD.Excitation.ATTRIBUTE.Type=2;