% This example shows how to use the SSH/SCP package to download remote file % at Beagle to local drive fname='wtrscan.txt'; username='ubuntu'; psw='temppwd'; beagleIP='10.2.1.239'; localFolder='E:\Beagle\Eclipseworkspace\MatlabCoder_1b\manual_from_mbed'; remotefilename=strcat('/home/ubuntu/Loadmon_BeaglePlus/',fnamescan); fprintf('Fetch remote file %s\n', remotefilename); scptomatlab(username,beagleIP,pwd,localFolder,remotefilename);