Index: matlab/InitPcbrndLayers.m =================================================================== --- matlab/InitPcbrndLayers.m (revision 30035) +++ matlab/InitPcbrndLayers.m (revision 30036) @@ -32,7 +32,7 @@ elseif (3 == layer_types(counter).subtype) % a 3D object can be an insulator or a conductor so now we need some logic about which is which. CSX = AddMaterial(CSX, layer_types(counter).name); - if (isfield(layer_types(counter), "kappa") == 0) + if (isfield(layer_types(counter), "conductivity") == 0) CSX = SetMaterialProperty(CSX, layer_types(counter).name, 'Epsilon', layer_types(counter).epsilon); else CSX = SetMaterialProperty(CSX, layer_types(counter).name, 'Epsilon', layer_types(counter).epsilon, 'Kappa', layser_types(counter).conductivity);