fix matlab console output

Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
This commit is contained in:
Thorsten Liebig 2020-11-22 15:39:41 +01:00
parent ba793ac84e
commit 46827dccb0

View File

@ -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