matlab: allow empty ports to be passed through
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>pull/10/head
parent
eda30bacd3
commit
e833c9eaf4
|
@ -46,6 +46,10 @@ if (iscell(port))
|
||||||
return;
|
return;
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if isempty(port)
|
||||||
|
return;
|
||||||
|
end
|
||||||
|
|
||||||
if (strcmpi(port.type,'MSL') || strcmpi(port.type,'Coaxial'))
|
if (strcmpi(port.type,'MSL') || strcmpi(port.type,'Coaxial'))
|
||||||
port = calcTLPort( port, SimDir, f, varargin{:});
|
port = calcTLPort( port, SimDir, f, varargin{:});
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue