matlab: fix in curve port

Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
pull/1/head
Thorsten Liebig 2013-02-07 11:02:37 +01:00
parent 01ada0cdb6
commit 1868fe929f
1 changed files with 2 additions and 2 deletions

View File

@ -114,11 +114,11 @@ i_stop(dir) = i_start(dir);
% create the probes % create the probes
name = ['port_ut' num2str(portnr)]; name = ['port_ut' num2str(portnr)];
weight = -1; weight = -1;
CSX = AddProbe( CSX, name, 0, weight ); CSX = AddProbe( CSX, name, 0, 'weight', weight );
CSX = AddBox( CSX, name, prio, v_start, v_stop ); CSX = AddBox( CSX, name, prio, v_start, v_stop );
name = ['port_it' num2str(portnr)]; name = ['port_it' num2str(portnr)];
weight = 1; weight = 1;
CSX = AddProbe( CSX, name, 1, weight ); CSX = AddProbe( CSX, name, 1, 'weight', weight );
CSX = AddBox( CSX, name, prio, i_start, i_stop ); CSX = AddBox( CSX, name, prio, i_start, i_stop );
% create port structure % create port structure