Error: The server timed out while running and assessing your solution in MATLAB CODY

Sree Harsha on 2 Dec 2022
Latest activity Reply by Christian Schröder on 30 Dec 2022

Error: The server timed out while running and assessing your solution in MATLAB CODY. How do I resolve this? My code is correct. I have run it on PC. But, when i submit in CODY the server throws an error.
Christian Schröder
Christian Schröder on 30 Dec 2022
Cody imposes a time limit of -- if I recall correctly -- 60 seconds when evaluating solutions. If your solution is correct but fails to run on the Cody servers within this amount of time, then you'll have to rework your solution to be faster, either by optimizing or by using a different, faster approach.