Main Content

Develop Coding Problems

Add coding problems and write assessments to test learner solutions

Create coding problems and assessments for use in MATLAB® Grader™ courses or in a Learning Management System (LMS).

You can add coding problems to a collection or a course. When you are in the collection or course, navigate into the group or assignment, respectively, and then click ADD PROBLEM.

  • Blank Problem: Author a new coding problem. You can choose either a function-based or script-based approach.

    If you choose Blank Problem and then change your mind, click Choose a Different Problem to be returned to the options page.

  • MathWorks® Problem Catalog: Copy sample coding problems authored by MathWorks staff and adapt them for your course or collection. These coding problems illustrate good practices for writing coding problems and creating assessments.

  • LMS Courses: If you have LMS courses integrated with MATLAB Grader, you can add more coding problems to those courses.

  • MATLAB Grader Courses and Collections: Copy existing coding problems currently in your list of courses and collections and modify as necessary. These can be coding problems you have coded yourself, copied from existing coding problems, or been given access to by another instructor.


assessVariableEqualPerform multiple checks for variable presence and equality
assessFunctionPresenceCheck for presence of specific functions or keywords in the submission
assessFunctionAbsenceCheck that certain functions or keywords are not present in the learner solution


Coding Problems