summaryrefslogtreecommitdiff
path: root/openEMS/matlab/RunOpenEMS.m
diff options
context:
space:
mode:
Diffstat (limited to 'openEMS/matlab/RunOpenEMS.m')
-rw-r--r--openEMS/matlab/RunOpenEMS.m6
1 files changed, 3 insertions, 3 deletions
diff --git a/openEMS/matlab/RunOpenEMS.m b/openEMS/matlab/RunOpenEMS.m
index 3894adc..21a9876 100644
--- a/openEMS/matlab/RunOpenEMS.m
+++ b/openEMS/matlab/RunOpenEMS.m
@@ -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