2010-03-22 22:15:04 +00:00
|
|
|
function WriteOpenEMS(filename, FDTD, CSX)
|
2010-04-24 14:43:22 +00:00
|
|
|
% 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
|
|
|
|
%
|
2010-04-24 14:43:22 +00:00
|
|
|
% 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');
|