How to reset job ID in job monitor?
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
yuqi ao
el 10 de En. de 2023
Respondida: Raymond Norris
el 3 de Feb. de 2023
when I run script as batch job ,the job ID keeps increasing, how can I reset the job ID to 1?
I have tried to delete all jobs, it didn't work
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1257747/image.png)
0 comentarios
Respuesta aceptada
Gowthami
el 3 de Feb. de 2023
Hi,
The 'ID' property of a parallel.Job object(which is what is displayed in the Job Monitor) is a read-only property and therefore not controllable. It is intended to be a unique identifier that no two jobs of a cluster can share, regardless of whether the jobs have been deleted. This is the reason it is seen as an ever-increasing number even if you delete all jobs.
0 comentarios
Más respuestas (1)
Raymond Norris
el 3 de Feb. de 2023
If you delete all of the jobs and then restart MATLAB, I would expect the job ID to be reset to 1.
0 comentarios
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!