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

47 views (last 30 days)
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.

Accepted Answer

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.

More Answers (0)

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!