diff --git a/matlab/examples/optimizer/optimizer_simfun.m b/matlab/examples/optimizer/optimizer_simfun.m index 0ad2bcc..14152de 100644 --- a/matlab/examples/optimizer/optimizer_simfun.m +++ b/matlab/examples/optimizer/optimizer_simfun.m @@ -86,7 +86,7 @@ CSX = DefineRectGrid(CSX, unit, mesh); %% create port -[CSX,port] = AddCurvePort( CSX, 1, 50, p1(:,1), p1(:,end), 'excite' ); +[CSX,port] = AddCurvePort( CSX, 10, 1, 50, p1(:,1), p1(:,end), 'excite' ); if nargin > 1 max_timesteps = 100000;