openEMS/TESTSUITE/helperscripts/invoke_openEMS.m

16 lines
345 B
Matlab

function invoke_openEMS( opts )
if nargin < 1
opts = '';
end
% openEMS_opts = [openEMS_opts ' --disable-dumps'];
% openEMS_opts = [openEMS_opts ' --debug-material'];
filename = mfilename('fullpath');
dir = fileparts( filename );
openEMS_Path = [dir '/../../'];
command = [openEMS_Path 'openEMS.sh ' opts];
disp(command);
system(command);