matlab: use quotation marks around file names

Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
pull/32/head
Thorsten Liebig 2018-01-04 10:08:51 +01:00
parent a8c0d0bede
commit 9b86db48c1
1 changed files with 3 additions and 3 deletions

View File

@ -170,11 +170,11 @@ if (enable_ssh)
warning('openEMS:RunOpenEMS','remote cleanup failed!');
end
else
args = [Sim_File ' ' opts];
args = ['"' Sim_File '" ' opts]
if isfield(Settings,'LogFile') && isfield(Settings,'Silent')
invoke_openEMS(args,Settings.LogFile,Settings.Silent);
invoke_openEMS(args,['"' Settings.LogFile '"'],Settings.Silent);
elseif isfield(Settings,'LogFile')
invoke_openEMS(args,Settings.LogFile);
invoke_openEMS(args,['"' Settings.LogFile '"']);
elseif isfield(Settings,'Silent')
invoke_openEMS(args,[],Settings.Silent);
else