diff --git a/matlab/AddStripLinePort.m b/matlab/AddStripLinePort.m index 96b5a61..70dd065 100644 --- a/matlab/AddStripLinePort.m +++ b/matlab/AddStripLinePort.m @@ -203,7 +203,7 @@ CSX = AddProbe( CSX, port.U_filename{3,1}, 0, 'weight', weight ); CSX = AddBox( CSX, port.U_filename{3,1}, prio, v3_start, v3_stop+height_vector ); port.U_filename{3,2} = [PortNamePrefix 'port_ut' num2str(portnr) 'C2']; -CSX = AddProbe( CSX, port.U_filename{3,2}, 0, 'weight', weight ); +CSX = AddProbe( CSX, port.U_filename{3,2}, 0, 'weight', -1*weight ); CSX = AddBox( CSX, port.U_filename{3,2}, prio, v3_start, v3_stop-height_vector ); % calculate position of the current probes