Sunday, August 17, 2014
MATLAB SFTP with WinSCP
One of the ways to transfer files using SFTP in MATLAB (sort of) is simply to do it in an external tool (e.g., WinSCP). Assuming the tool supports scripting (WinSCP's scripting), you can prepare the scripts first and simply call the tool using the ! command with the path to the script file.
A few thoughts:
1. put it in a timer function to automate the transfer
2. dynamically generate the script so that actions can vary in each session
3. wonder if the session can be maintained in which case we could provide some sort of interactivity in MATLAB's command window.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment