diff --git a/matlab/private/invoke_openEMS.m b/matlab/private/invoke_openEMS.m index 00af4d6..7409984 100644 --- a/matlab/private/invoke_openEMS.m +++ b/matlab/private/invoke_openEMS.m @@ -45,8 +45,7 @@ else end -[exitcode, shelloutput] = system(command); +exitcode = system(command); if (exitcode~=0); - disp(shelloutput); error(['openEMS binary exited with error-code ' num2str(exitcode)]); end