From 34ccfef2022dbdddfe71b3c664369b91a385c987 Mon Sep 17 00:00:00 2001 From: Thorsten Liebig Date: Mon, 27 Feb 2012 15:15:14 +0100 Subject: [PATCH] matlab: fix in lumped port excitation definition --- matlab/AddLumpedPort.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matlab/AddLumpedPort.m b/matlab/AddLumpedPort.m index d50e6c6..d14aa63 100644 --- a/matlab/AddLumpedPort.m +++ b/matlab/AddLumpedPort.m @@ -56,7 +56,7 @@ if (R>0) end % create excitation -if (nargin >= 7) && ~isempty(excitename) +if (nargin >= 8) && ~isempty(excitename) CSX = AddExcitation( CSX, excitename, R<=0, -dir*direction, varargin{:}); CSX = AddBox( CSX, excitename, prio, start, stop ); end