File Exchange

image thumbnail

CCS Toolbox

version 1.0.0.0 (8.71 KB) by Marc Molinari
Interfaces Matlab to the Microsoft Compute Cluster Server via XML

1 Download

Updated 15 Jan 2008

No License

The CCS Toolbox for Matlab is a simple interface from Matlab to the Microsoft Compute Cluster Server. It allows job submissions from the Matlab environment.

The jobs are described entirely as Matlab data structures.

Example:

% create a job and assign a name
j = ccsjob;
j.Name = 'My CCS job';
j.Project = j.Name;

% create a task and assign name, execute command, and work directory:
t = ccstask;
t.Name = 'mytask';
t.CommandLine = 'run.bat';
t.WorkDirectory = '\\cluster\myfolder';

% assign task to job
j.Tasks(1) = t;

% write job to xml submission file
jobfilename = 'myjobsubmission.xml';
ccs_create_submission_file(j, jobfilename);

% submit job to CCS cluster
clusterHeadNode = 'cluster-hn';
system(['job submit /exclusive:false /jobfile:', jobfilename, ' /scheduler:', clusterHeadNode]);

Cite As

Marc Molinari (2021). CCS Toolbox (https://www.mathworks.com/matlabcentral/fileexchange/18330-ccs-toolbox), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (0)

MATLAB Release Compatibility
Created with R2006b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!