In openEMS the structure to be simulated can be composed of various different physical properties (e.g. material or metal) and non-physical properties (e.g. probes or dump boxes) which can easily be defined using the openEMS Matlab/octave interface.
Note: Every property has a similar function layout, where the first argument is the overall CSXCAD structure CSX and the second argument is the name of the property which can be an arbitrary and unique string. It is very important to set CSX as the return value for the changed CSXCAD structure.
CSX = AddMetal(CSX,'metal');