Submit Solution in an LMS
Your school's integration with MATLAB® Grader™ provides a UI to solve an assessment item and submit it for grading. This UI provides a subset of MATLAB functionality required for solving the assessment item. Toolboxes required as part of the solution are included. Depending on how your instructor has configured the integration, the assessment item can display inline, in a separate window, or in a new tab.
Code, Debug and Analyze, and Submit Your Solution
Open an assessment item in your LMS.
To access an assessment item, you must be in an LMS class. If you do not have access, contact your instructor. Otherwise, open the assigned assessment item.
Code your solution in the script or function code boxes.
The instructor has written a description for the assessment item and provided guidance on how you are to solve it.
Lines with a gray background have been locked by your instructor, meaning you cannot edit them.
If you are writing a function solution:
You must use the function name provided by the instructor so that MATLAB Grader can assess your solution.
Your instructor might have provided the code to call your function. If not, you need to add this code to the Code to Call Your Function area before you can test your solution.
Run code and check your output by clicking Run Script or Run Function. Outputs, if any, appear immediately below the button.
When you prequalify your solution, make sure your code does not exceed the execution time limit. Solutions that exceed the time limit fail when you attempt to submit them. For more information, see Execution Time Limit.
Run pretests if your instructor has provided them and review any pretest assessment results. You can learn about pretests in the topic Pretests.
Submit your solution.
Review the results of assessment tests that were run during submission.
To improve your solution, return to the coding area to make changes.
To see other attempts you have made at solving this assessment item, go to the top of the page and then click View my Solutions.
To receive a grade for your solution, you must submit your solution.
Your LMS might allow you to submit late solutions (see Late Solutions). Consult with your instructor on how late submissions are handled.
For more information about factors that can affect your submission, see the Solution Guide.
Save Work in Progress or Reset Template
If you navigate away from an assessment item and then return, the assessment item reloads with the last saved code. Code is automatically saved when you submit a solution. To save your work without submitting it, click Save.
To revert the code area back to its original state, click Reset.
Review Assessment Test Results
When you submit a solution, MATLAB Grader evaluates it against the assessment tests that your instructor created for this assessment item, including pretests.
If your solution passes all of the tests for this assessment item, MATLAB Grader marks the solution as correct. Tests that your solution passed have a green check mark.
If your solution fails a test, MATLAB Grader places a red X next to the test title. Each test the solution failed includes an error message that indicates what caused the failure.
To improve your solution, return to the coding area to make changes. To see other attempts you have made at solving this and other assessment items, click View my solutions.