Main Content

getSimulationJobs

Get allSimulink.Simulation.Jobobjects from cluster

Description

jobs= getSimulationJobs(myCluster)returns an array ofSimulink.Simulation.Jobobjects that correspond to the jobs created by executing ofbatchsimon cluster,myCluster.

Examples

collapse all

This example shows how to access abatchsimjob that was submitted to a cluster. Assume thatmyClusteris aparallel.Clusterobject on which theSimulink.Simulation.Jobobject is running.

jobs = getSimulationJobs(myCluster)
1×2 Job array: ID Type State FinishDateTime Username ----------------------------------------------------------------------- 1 3 pool queued ####### 2 4 pool queued #######

The output displays all theSimulink.Simulation.Jobobjects on cluster,myCluster.

Input Arguments

collapse all

Cluster object representing parallel cluster compute resources.

Output Arguments

collapse all

Array ofSimulink.Simulation.Jobobjects submitted by executingbatchsimcommand.

See Also

Functions

Classes

Topics

Introduced in R2018b