simulink.cloud.Job
Description
Running multiple simulations with the batchsim
function on a
registered remote computing cluster creates a simulink.cloud.Job
object.
Use the simulink.cloud.Job
object to manage simulations. With the
simulink.cloud.Job
object, you can fetch outputs of your simulations,
cancel the running job, or delete an existing job from the remote computing cloud cluster.
The table summarizes the functions you can use with the
simulink.cloud.Job
object to manage simulations.
Functions | Purpose | Example |
---|---|---|
fetchOutput | Fetch simulation outputs. Use the index to fetch outputs for simulations. |
job = batchsim('clusterName','designStudy') output = job.fetchOutput(1) |
cancel | Cancel the running job. Canceling the job removes the job
from the remote computing cluster, but allows you to still access the
|
job = batchsim('clusterName','designStudy') job.cancel() |
delete | Delete the job from the remote computing cluster and MATLAB Deleting the job deletes the job from the remote computing cluster and MATLAB. |
job = batchsim('clusterName','designStudy') job.delete() |
Creation
Description
cloudJob = batchsim(
creates a job object, clusterName
, designStudy
)cloudJob
, that you can use to manage simulations
on the remote cloud cluster.
Input Arguments
Properties
Version History
Introduced in R2024b