openEMS/matlab/WriteOpenEMS.m

19 lines
447 B
Matlab
Raw Normal View History

2010-03-22 22:15:04 +00:00
function WriteOpenEMS(filename, FDTD, CSX)
% function WriteOpenEMS(filename, FDTD, CSX)
2012-08-02 11:33:55 +00:00
%
% Write the FDTD and CSX structures to a file.
%
% example:
% CSX = InitCSX();
% FDTD = InitFDTD();
% WriteOpenEMS('test.xml',FDTD,CSX)
%
% See also InitFDTD InitCSX CSXGeomPlot
%
% openEMS matlab interface
% -----------------------
% author: Thorsten Liebig
2010-03-22 22:15:04 +00:00
2010-03-23 22:48:32 +00:00
openEMS.FDTD = FDTD;
openEMS.ContinuousStructure = CSX;
struct_2_xml(filename,openEMS,'openEMS');