Time limit for the Exclamation Point — !
Mostrar comentarios más antiguos
I was wondering if anyone knew if there was an established time limit for using the exclamation point to run an external command. I notice an issue that matlab seems to hang if I run an external script that takes too much time. I have searched for a max time so I can put a time limit on my script but I cannot not find a specific listed time.
Respuesta aceptada
Más respuestas (1)
Walter Roberson
el 10 de Ag. de 2012
0 votos
There is no mechanism for imposing time limits in most parts of MATLAB.
(I think I saw discussion in which a way was shown to impose time limits on the Parallel Computing Toolbox "batch" facility. There aren't many other time limits that can be imposed with the cooperation of the code that is executing -- and in your situation you do not have the cooperation of that code.)
Possibly your operating system provides a mechanism for imposing time limits. For example in Unix derived systems, it can be doing using "limit" or "ulimit" commands to set resource limits.
Categorías
Más información sobre Startup and Shutdown en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!