Create or Copy Coding Problems
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
assessVariableEqual | Perform multiple checks for variable presence and equality |
assessFunctionPresence | Check for presence of specific functions or keywords in the submission |
assessFunctionAbsence | Check that certain functions or keywords are not present in the learner solution |
Topics
Coding Problems
- Create Function-Type Problems
Author a problem for learners to solve with a function-type solution. - Create Script-Type Problems
Author a problem for learners to solve with a script-type solution. - View Problem History
View previous versions of a problem.
Assessments
- Test Learner Solutions
Create assessments that check for various common errors or conditions.