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

22 views (last 30 days)

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 2 Oct 2018
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.
  2 Comments
Cris LaPierre
Cris LaPierre on 3 Sep 2019
Edited: Cris LaPierre on 23 Sep 2019
It is now possible to use custom parameters to limit the number of submissions allowed when MATLAB Grader is integrated into an LMS. How custom parameters are accessed and applied varies by platform.
Add the parameter custom_attempts_allowed and assign it an integer number of attempts. For example
custom_attempts_allowed=3
Note that in some platforms "custom_" is added automatically. In these situations, do not include it in the parameter name. You would instead enter
attempts_allowed=3
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.

Sign in to comment.

More Answers (0)

Communities

More Answers in the  Distance Learning Community

Categories

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