From 150b290aeca85db3f37ae44a45b35390a98c6039 Mon Sep 17 00:00:00 2001 From: Thorsten Liebig Date: Fri, 26 Nov 2010 14:48:47 +0100 Subject: [PATCH] matlab: ssh: copy all simulation files to host machine --- matlab/RunOpenEMS.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/matlab/RunOpenEMS.m b/matlab/RunOpenEMS.m index 3750347..47bb8f2 100644 --- a/matlab/RunOpenEMS.m +++ b/matlab/RunOpenEMS.m @@ -51,8 +51,8 @@ if (isfield(Settings,'SSH') && isunix) disp(['Running remote openEMS on ' Settings.SSH.host ' at working dir: ' ssh_work_path]); - %copy openEMS simulation file to the ssh host - [stat, res] = unix(['scp ' scp_options ' ' Sim_File ' ' Settings.SSH.host ':' ssh_work_path '/' Sim_File]); + %copy openEMS all simulation files to the ssh host + [stat, res] = unix(['scp ' scp_options ' * ' Settings.SSH.host ':' ssh_work_path '/']); if (stat~=0) disp(res); error('openEMS:RunOpenEMS','scp failed!');