offload simulations to run on a compute cluster -凯发k8网页登录
offload simulations to run on a compute cluster
since r2018b
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
| (parallel computing toolbox) | (parallel computing toolbox) | | | | | |
classes
- |
topics
- comparison between multiple simulation workflows
- running multiple simulations
- batch processing (parallel computing toolbox)
- (parallel computing toolbox)