matlab compiled application timeout

Hi Community,
I am using matlab 2024b compiler to build exe programs on test pcs. It process 100 + pcap payload and writes different result output to the text file in file system. I have been experiencing in production test, this program stalls at last iteration, unable to complete the writes and ending with application timeout error detected.
Is it possible to add a timeout for matlab compiled programs to self terminate in case of stalled loop or errors during file io?
Is it possible to add an interrupt /signal handler to such exe, so external caller can pass signal to this process/program and print stack frame/last executed program counter to debug more?
we have tried removal matlab cache storage. The matlab script + generated exe program works fine with same input parameters in standalone mode. when we do automation and run tests one after another, timeout of exe shows up randomly. any debug directions for exe programs is well appreciated.

1 comentario

dpb
dpb hace alrededor de 4 horas
The environment and communications channels here are confusing/unclear. Is this "compiled exe" a web app, maybe, or is the "file system" over a network connection, or ...? What generates the timeout? What does "timeout of exe shows up randomly" mean compared to the prior "this program stalls at last iteration"?
As far as terminating, you could create a "deadman" timer that has to be refreshed at some interval and that if not and times out, exits the program.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Application Deployment en Centro de ayuda y File Exchange.

Productos

Versión

R2024b

Etiquetas

Preguntada:

el 23 de Jul. de 2026 a las 13:37

Comentada:

dpb
el 23 de Jul. de 2026 a las 14:49

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by