allow RunOpenEMS without options

This commit is contained in:
Thorsten Liebig 2011-09-13 10:50:08 +02:00
parent 467af5e5b6
commit 4edc50b981

View File

@ -29,10 +29,14 @@ function RunOpenEMS(Sim_Path, Sim_File, opts, Settings)
% ----------------------- % -----------------------
% author: Thorsten Liebig % author: Thorsten Liebig
if nargin < 3 if nargin < 2
error 'specify the Sim_Path and Sim_file to simulate' error 'specify the Sim_Path and Sim_file to simulate'
end end
if nargin < 3
opts = '';
end
if (nargin<4) if (nargin<4)
Settings = []; Settings = [];
end end