batchsim
Offload simulations to run on a compute cluster
Syntax
Description
runs a batch job on a single worker to simulate a model using the inputs specified in the
simjob = batchsim(in)SimulationInput object, in.
runs a batch job on the cluster identified by the cluster object
simJob = batchsim(myCluster,in)myCluster. If a cluster profile is not specified,
batchsim uses a default cluster profile as set up in the parallel
preferences. For more information, see Discover Clusters and Use Cluster Profiles (Parallel Computing Toolbox).
runs a batch job that simulates a model using the inputs specified in the simJob = batchsim(___,Name=Value)SimulationInput object and options specified using one or more
name-value arguments.
runs massive simulations with the simJob = batchsim(designStudy)simulink.multisim.DesignStudy object.
runs a batch job on a registered remote cloud computing cluster
cloudJob = batchsim(cloudCluster, designStudy)cloudCluster with parameters specified by the
designStudy. Running batchsim on the cloud requires
Large-Scale Cloud Simulation for Simulink Support Package (Simulink Compiler)™.
The batchsim function offloads simulations to a compute cluster,
enabling you to carry out other tasks while the batch job is processing, or close the client
MATLAB® and access the batch job later. Use the Pool argument to
run simulations in parallel.
The batchsim function requires Parallel Computing Toolbox™ and MATLAB
Parallel Server™ licenses to run the simulations on compute cluster. The
batchsim function runs the simulations in serial if a parallel pool
cannot be created. If Parallel Computing Toolbox license is not available, the batchsim function issues an
error.
Examples
Input Arguments
Name-Value Arguments
Output Arguments
Extended Capabilities
Version History
Introduced in R2018b
See Also
Functions
parsim|batch(Parallel Computing Toolbox) |parcluster(Parallel Computing Toolbox) |cancel|diary|fetchOutputs|listAutoAttachedFiles|wait|getSimulationJobs|simulink.cloud.Job(Simulink Compiler)
Objects
Topics
- Comparison Between Multiple Simulation Workflows
- Running Multiple Simulations
- Batch Processing (Parallel Computing Toolbox)
- Job Monitor (Parallel Computing Toolbox)
- Run Simulations on a Remote Cloud Computing Cluster (Simulink Compiler)