%
missionList = {'SimWCakeSimple.cfg',
               'Flat4c.cfg',
               'PortOALow2.cfg',
               'SimVIsland.cfg'};

guestname = 'sandpiper-qnx.shore.mbari.org';

argstr='';
len = length(missionList);
for(i=1:len-1)
    argstr = [argstr,char(missionList(i)),' '];
end
argstr = [argstr,char(missionList(len))]

runString = sprintf('rsh %s ../../offboard/testbash %s',guestname, argstr);
tic
status = system(runString);
telapsed=toc
