How do I restrict the number of student submissions for MATLAB Grader coding problems?​

12 views (last 30 days)

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 16 Oct 2025
Edited: MathWorks Support Team on 16 Oct 2025
When students work their problems on the MATLAB Grader site, it is possible to limit the number of submissions for all problems within an assignment. To change this setting, navigate to the desired assignment in grader.mathworks.com and click "edit".
Under "Number of Submissions" choose "Unlimited" or "Limited". If "Limited" is selected, the additional field "submissions per problem" appears. Enter the number of submissions to allow.
When MATLAB Grader problems are integrated into an LMS, limiting the number of submissions is controlled by the LMS platform. Check with your LMS administrator to determine if this feature is available for your LMS.
  3 Comments
Cris LaPierre
Cris LaPierre on 19 May 2020
Edited: Cris LaPierre on 18 Sep 2023
Here are some platform-specific examples
Blackboard: attempts_allowed=3
Canvas: custom_attempts_allowed=3
Brightspace D2L:
  • Name field: attempts_allowed
  • Value field: 3
Moodle: attempts_allowed=3
Open edX: [ "attempts_allowed=3" ]
Sakai: attempts_allowed=3
The limit is displayed in the Submit button when viewing the problem using a student role.
Note: The preview or "View as student" mode in some LMS platforms as well as the Learner Preview feature in Grader do not change the user role to student.
Cris LaPierre
Cris LaPierre on 20 Oct 2025
An additional note - on some platforms, custom parameters can be set at the problem level (i.e. by the instructor), with the custom parameter applying to just that problem. In others, they can only be set at the tool integration level by the LMS admin, with the custom parameters applying to every problem associated with that LTI tool integration.

Sign in to comment.

More Answers (0)

Categories

Find more on Programming 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!