matlab: use quotation marks around file names
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>pull/32/head
parent
a8c0d0bede
commit
9b86db48c1
|
@ -170,11 +170,11 @@ if (enable_ssh)
|
||||||
warning('openEMS:RunOpenEMS','remote cleanup failed!');
|
warning('openEMS:RunOpenEMS','remote cleanup failed!');
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
args = [Sim_File ' ' opts];
|
args = ['"' Sim_File '" ' opts]
|
||||||
if isfield(Settings,'LogFile') && isfield(Settings,'Silent')
|
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')
|
elseif isfield(Settings,'LogFile')
|
||||||
invoke_openEMS(args,Settings.LogFile);
|
invoke_openEMS(args,['"' Settings.LogFile '"']);
|
||||||
elseif isfield(Settings,'Silent')
|
elseif isfield(Settings,'Silent')
|
||||||
invoke_openEMS(args,[],Settings.Silent);
|
invoke_openEMS(args,[],Settings.Silent);
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue