Cancel a pending, queued, or running Simulink.Simulation.Job
object
cancel(
stops the
simJob
)Simulink.Simulation.Job
object, simJob
, that is
currently in 'pending'
, 'queued'
, or
'running'
state.
cancel(
stops the simJob
,'Message'
)Simulink.Simulation.Job
object, simJob
, that
is in 'pending'
, 'queued'
, or
'running'
state and displays a user-specified message.
The State
property of Simulink.Simulation.Job
object is set to finished, and other pending simulations are canceled. Canceling a job
object disables you to fetch results from it. A canceled job object cannot be started
again.
Note
On canceling the job, the results of the completed simulations in the job are also lost.
batchsim
| diary
| fetchOutputs
| getSimulationJobs
| listAutoAttachedFiles
| parsim
| wait
| batch
(Parallel Computing Toolbox)