sendToRemote
SENDTOREMOTE is intended to work as a seamless way to run a script or function on a remote server without the MATLAB Parallel Server or other scheduling software as though it had been run locally. Given SSH access to a powerful machine that is not specifically provisioned as a MATLAB server or cluster, but nonetheless has a licensed version of MATLAB available (as is often the case in a shared academic context), SENDTOREMOTE provides a straightforward framework for executing code on a shared resource without having to manually copy files back and forth, all without leaving the MATLAB command line.
WARNING: This function uses Rsync to copy the ENTIRETY of the MATLAB path to a remote machine. If your path contains large data files or private information that should not be copied, DO NOT USE THIS PROJECT. Furthermore, in order to improve the chances that the remote command does not use shadowed or stale code, all extraneous files under the remote execution directory (~/MATLAB/remoteExecution by default) WILL BE DELETED every time the path is copied to the remote machine, possibly leading to data loss if this folder is already in use.
At the moment, development has occurred entirely under the Windows Subsystem for Linux (WSL). If you are interested in helping out with updating it to work with true Unix-based systems, please leave an issue or a pull request!
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Versions that use the GitHub default branch cannot be downloaded
Version | Published | Release Notes | |
---|---|---|---|
0.1.0 |
|