matlab: fix in MSL port, allow lumped element for active & inactive ports

pull/1/head
Thorsten Liebig 2012-06-18 09:06:20 +02:00
parent 5e7627d212
commit c58e4c5868
1 changed files with 2 additions and 2 deletions

View File

@ -232,8 +232,8 @@ if ~isempty(excitename)
CSX = AddBox( CSX, excitename, prio, ex_start, ex_stop ); CSX = AddBox( CSX, excitename, prio, ex_start, ex_stop );
end end
if feed_R > 0 if feed_R > 0
CSX = AddLumpedElement( CSX, [excitename '_R'], idx_height-1, 'R', feed_R ); CSX = AddLumpedElement( CSX, 'port_R', idx_height-1, 'R', feed_R );
CSX = AddBox( CSX, [excitename '_R'], prio, ex_start, ex_stop ); CSX = AddBox( CSX, 'port_R', prio, ex_start, ex_stop );
port.Feed_R = feed_R; port.Feed_R = feed_R;
end end
end end