sendToRemote

version 0.1.0 (9.48 KB) by Aidan Meacham
Run a MATLAB script or function over SSH as though it was run locally.

33 Downloads

Updated 31 Mar 2020

From GitHub

View License on GitHub

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
Created with R2019a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.