Terminate function after 5 minutes

8 visualizaciones (últimos 30 días)
Stina
Stina el 28 de Sept. de 2015
Respondida: Jon el 28 de Sept. de 2015
I am trying to set up an experiment in Matlab I have made a function which when executed will ask the user a number of questions. Now the problem is, that i want this function to run for exactly 5 minutes, and not depend of how many questions have been answered.
I have been looking at the timer function in matlab, but i cannot figure out if it can be used, and how.

Respuestas (1)

Jon
Jon el 28 de Sept. de 2015

Categorías

Más información sobre Startup and Shutdown en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by