From 6a758840f595f2afe803dc838f946e1c599a8033 Mon Sep 17 00:00:00 2001 From: Thorsten Liebig Date: Sat, 7 Jun 2014 20:24:26 +0200 Subject: [PATCH] fix in stripline port Signed-off-by: Thorsten Liebig --- matlab/AddStripLinePort.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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