Main Content

Create or Copy Coding Problems

Add coding problems and create assessment items to test learner solutions

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

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

  • Your collections: Copy existing coding problems currently in the collections you have created 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.

  • MathWorks® Collections: 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.

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

  • Blank Problem: Author a new coding problem. You can choose to create either a function-type or script-type problem.

If you change your mind, click Choose Different Problem to be returned to the options page.

Functions

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

Topics

Coding Problems

Assessments