batchsim
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 the options specified as
Name,Value
pair.
batchsim
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
command uses the Parallel Computing Toolbox™ and MATLAB
Parallel Server™ licenses to run the simulations on compute cluster.
batchsim
runs the simulations in serial if a parallel pool cannot be
created. If Parallel Computing Toolbox license is not available, batchsim
errors out.
Examples
Input 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
Classes
Topics
- Comparison Between Multiple Simulation Workflows
- Running Multiple Simulations
- Batch Processing (Parallel Computing Toolbox)
- Job Monitor (Parallel Computing Toolbox)