From 1868fe929f0c5728dfded28859399e1ba6985d1c Mon Sep 17 00:00:00 2001 From: Thorsten Liebig Date: Thu, 7 Feb 2013 11:02:37 +0100 Subject: [PATCH] matlab: fix in curve port Signed-off-by: Thorsten Liebig --- matlab/AddCurvePort.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/matlab/AddCurvePort.m b/matlab/AddCurvePort.m index 87e8a47..cb7adce 100644 --- a/matlab/AddCurvePort.m +++ b/matlab/AddCurvePort.m @@ -114,11 +114,11 @@ i_stop(dir) = i_start(dir); % create the probes name = ['port_ut' num2str(portnr)]; weight = -1; -CSX = AddProbe( CSX, name, 0, weight ); +CSX = AddProbe( CSX, name, 0, 'weight', weight ); CSX = AddBox( CSX, name, prio, v_start, v_stop ); name = ['port_it' num2str(portnr)]; weight = 1; -CSX = AddProbe( CSX, name, 1, weight ); +CSX = AddProbe( CSX, name, 1, 'weight', weight ); CSX = AddBox( CSX, name, prio, i_start, i_stop ); % create port structure