Is it possible to automatically grade Simulink/Simscape models?

13 visualizaciones (últimos 30 días)
Does MATLAB Grader support the autograding or the use of Simulink models in autograded MATLAB code?

Respuesta aceptada

Jeff Alderson
Jeff Alderson el 16 de Jun. de 2020
Editada: Jeff Alderson el 1 de Jul. de 2020
MATLAB Grader was designed to automatically grade MATLAB code and not Simulink models interactively. While Simulink models can be accessed through the use of the "sim" command in MATLAB Grader, those models can not be edited or accessed interactively through the GUI. Also, MATLAB Grader has a strict execution time limit of 60 seconds (which includes running the reference solution, learner solution, and all assessment tests). Due to the way that the "sim" command is currently supported, complex models, or models with long runtimes are not supported.
If you are willing to provide feedback on how you would like to incorporate Simulink models into automated assessments in MATLAB Grader, please contact your account representative.
  2 comentarios
Silvio
Silvio el 23 de Oct. de 2023
Dear Jeff, the evaluation of a Simulink model cannot simply rely on the assessment of the simulation response. The 'Simulink grader' should also check the correctness of the Simulink scheme and its design, depending on the logic of the developed structure.
Jeff Alderson
Jeff Alderson el 23 de Oct. de 2023
Could you be more specific? How would you define “correctness” of a Simulink model? What do you mean by “logic of the developed structure?” Could you provide some rubrics or examples of models you have assessed, with specific attributes you are looking to be present in order to determine correctness?

Iniciar sesión para comentar.

Más respuestas (0)

Comunidades de usuarios

Más respuestas en  Distance Learning Community

Categorías

Más información sobre Test Execution en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by