openEMS/TESTSUITE/helperscripts/invoke_openEMS.m

16 lines
345 B
Matlab
Raw Normal View History

2010-03-30 11:14:00 +00:00
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);
2010-03-31 13:39:07 +00:00
system(command);