openEMS/TESTSUITE/helperscripts/invoke_openEMS.m

18 lines
389 B
Mathematica
Raw Normal View History

2010-03-30 19:14:00 +08:00
function invoke_openEMS( opts )
if nargin < 1
opts = '';
end
% opts = [opts ' --disable-dumps'];
% opts = [opts ' --debug-material'];
% opts = [opts ' --engine=multithreaded'];
% opts = [opts ' --engine=sse'];
2010-03-30 19:14:00 +08:00
filename = mfilename('fullpath');
dir = fileparts( filename );
openEMS_Path = [dir '/../../'];
command = [openEMS_Path 'openEMS.sh ' opts];
disp(command);
2010-03-31 21:39:07 +08:00
system(command);