I am taking MATLAB On-ramp course - getting incorrect error though code is correct

7 visualizaciones (últimos 30 días)
I am executing a piece of code asked which included for & if loop. The code is correct but I am getting error as "incorrect" there is not details related to what is wrong & why this error message. Attching snap of error. Kindly help resolve this

Respuestas (1)

Cris LaPierre
Cris LaPierre el 1 de Ag. de 2025
Also reported here. How long does the code run before this appears?
An actual incorrect message would include the results of each test run. This suggests the grader timed out. This could happen if it is taking too long for the code to run. The solution you show is the expected solution, so that means you may have gotten connected to a bad server. To get a new server, try closing the browser, waiting 15 minutes, and then launching the course again.
If the problem continue, please report it here: https://www.mathworks.com/support/contact_us.html
  1 comentario
Cris LaPierre
Cris LaPierre el 6 de Ag. de 2025
I shared this internally. The issue is due to the browser caching old files (all courses just moved to R2025a). The recommended workaround is to clear your browser's cache and cookies.
Other workarounds include using a private/incognito window, or using a different browser.
Also, please make sure your browser is supported and up-to-date. MathWorks recommends using Chrome.

Iniciar sesión para comentar.

Categorías

Más información sobre Entering Commands 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