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!');
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue