Azzera filtri
Azzera filtri

Grader: Your code could not run to completion. Check for errors in the code such as infinite recursion.

3 visualizzazioni (ultimi 30 giorni)
Hi,
is there a way in the Matlab Grader to extend the computational time as an instructor?
Some iterative functions take a couple of minutes until completion in the normal Matlab, but in the "Run function" it fails with the error "Your code could not run to completion. Check for errors in the code such as infinite recursion."
I don't have recursion in the function, it just takes some minutes.
Is there a solution for this?
Thanks,
Martin

Risposte (1)

Cris LaPierre
Cris LaPierre il 1 Giu 2019
There is not currently a way to extend the time limit. All computation, including running the reference solution, student solution, and all assessment tests, must be completed in ~60 seconds or you will get the error message you are seeing.

Community

Più risposte nel  Distance Learning Community

Categorie

Scopri di più su Get Started with MATLAB in Help Center e File Exchange

Prodotti


Release

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by