Main Content

Integrate MATLAB Grader with Moodle

Check for Existing MATLAB Grader Integration

The easiest way to find out if MATLAB® Grader™ has already been integrated with your LMS is to add a coding problem to your course. See the next section for instructions.

If you have difficulty finding the MATLAB Grader integration, or it is clear that MATLAB Grader has not been integrated yet, contact one of the resources in Getting Help.

Instructors: Add MATLAB Grader Coding Problem to Course

If an LMS administrator has already performed MATLAB Grader integration with Moodle™, you can add coding problems to your course.

  1. In Moodle, go to the course where you want to add a MATLAB Grader coding problem.

  2. Turn editing on.

  3. Select Add an Activity or Resource.

    Browse ACTIVITIES for "MATLAB Grader."

    • If you find the MATLAB Grader integration in the activity list, select it and click Add.

    • If you do not see the MATLAB Grader integration in the list:

      1. Select External Tool and click Add.

      2. Under Preconfigured tool, find and select the MATLAB Grader integration.

  4. Fill out activity name and any other desired settings.

  5. Click Save and display.

    Moodle launches the MATLAB Grader interface for copying and creating content.

    You can create a new problem or select a problem from your available collections or courses. To access your MATLAB Grader content, see Link MathWorks Account to MATLAB Grader Coding Problems.

If you are unable to find the MATLAB Grader integration or need help for any part of this process, contact one of the resources in Getting Help.

LMS Administrators: Add MATLAB Grader to Moodle External Tools

To add MATLAB Grader to Moodle External Tools:

  1. Get Learning Tools Interoperability (LTI) credentials.

    1. In MATLAB Grader, using the top navigation, go to LMS Integration.

    2. Select Moodle from the drop-down list.

    3. Click Generate Key and Secret. Copy these values and the Launch URL.

  2. Sign into Moodle.

  3. Navigate to Site administration > Plugins > Activity modules > External tool > Manage tools.

  4. In Manage tools, click "configure a tool manually."

    • For Tool Name, we recommend that you name the app “MATLAB Grader” for easier discoverability by instructors at your institution who will be adding MATLAB Grader coding problems to a course in Moodle.

    • For Tool URL enter the Launch URL obtained in the first step.

    • For Consumer Key, enter the MATLAB Grader Key that you generated in the first step.

    • For Shared Secret, enter the MATLAB Grader Secret that you generated in the first step.

    • Set Tool configuration usage to "Show in activity chooser and as a preconfigured tool."

    • Under Privacy, set both Share launcher's name with tool and Share launcher's email with tool to "Never." Set Accept grades from the tool to “Always.”

    When you have completed filling out the required information, click Save changes.

Getting Help

If at any point in this process you require assistance with adding a MATLAB Grader coding problem to your LMS course or in setting up the initial LMS integration, contact these resources in this order:

Related Topics