Integrate MATLAB and Simulink Online Courses with Moodle — LTI 1.3
To add MATLAB® and Simulink® Online™ Courses to Moodle™ external tools, follow the steps in this section.
The version of Moodle you are using must be compatible with LTI 1.3. For information on which Moodle versions support LTI 1.3 integration, see Moodle LTI support.
Note
In each step of this procedure, make sure there are no leading or trailing spaces in the text you copy and paste from this page. Otherwise, the integration might not work.
Step 1. Sign in to MATLAB and Simulink Online Courses as an LMS Administrator
Note
When you sign in to MATLAB and Simulink Online Courses, use the MathWorks® Account associated with the LMS administrator. The account holder must also be a license administrator for managing MathWorks licenses and must have been given access to MATLAB and Simulink Online Courses by MathWorks Customer Support or by another license administrator at your university.
Sign in at the URL https://matlabacademy.mathworks.com/ and then click LMS Integration. Alternatively, you can
access the page directly at https://matlabacademy.mathworks.com/lti_credentials.
After you sign in, click Add Deployment. Select
MATLAB and Simulink Online Courses in the Product drop-down list and
Moodle in the Platform drop-down list.
Step 2. Sign in to Moodle as an LMS Administrator
Sign in to your university’s instance of Moodle as a user with administrator privileges, specifically one with the ability to register a new LTI 1.3/Advantage tool.
Step 3. Go to Manage Tools
In Moodle, go to Manage Tools under Site Administration > Plugins > Activity modules > External tool. The URL of this page might look similar to this example:
https://sandbox.moodledemo.net/mod/lti/toolconfigure.php.
Step 4. Register a New LTI 1.3/Advantage Tool
On Manage Tools, click configure a tool manually.
On External Tool Configuration, when prompted, enter the following values.
Field Name Field Value Tool Name MATLAB and Simulink Online Courses LTI 1.3Tool URL https://matlabacademy.mathworks.com/service/v1/lti/launchTool Description Automatically track progress in self-paced training coursesChange LTI version to
LTI 1.3. The form updates with the new fields.When prompted, enter the following values.
Field Name Field Value Public key type Keyset URLPublic keyset https://learningtool.mathworks.com/lti/jwkInitiate login URL https://learningtool.mathworks.com/lti/oidcRedirect URI(s): https://learningtool.mathworks.com/lti/redirectTool configuration usage Show in activity chooser and as a preconfigured toolDefault launch container New WindowEnable this setting to comply with security and accessibility requirements.
Expand Services and set options to the following values.
Field Name Field Value IMS LTI Assignment and Grade Services Use this service for grade sync and column managementIMS LTI Names and Role Provisioning Do not use this serviceTool Settings Do not use this serviceExpand Privacy and set options to the following values.
Field Name Field Value Share launcher’s name with tool NeverShare launcher’s email with tool NeverAccept grades from the tool AlwaysForce SSL Selected Click Save Changes.
Step 5. Obtain Tool Configuration Details from Moodle
After saving your changes, you are returned to Manage Tools, where
you can see the list of the tools that are currently configured in your instance of
Moodle. Locate the newly created entry for MATLAB and Simulink Online
Courses LTI 1.3.
On the tool entry, click View configuration details to see information about your MATLAB and Simulink Online Courses installation.
Copy the field values listed. You need this information in the next step.
The following example is the type of information you might see. Do not copy these specific example values.
Platform ID:
https://sandbox.moodledemo.netClient ID:
nnzajGSuLlx6LJKDeployment ID:
1Public keyset URL:
https://sandbox.moodledemo.net/mod/lti/certs.phpAccess token URL:
https://sandbox.moodledemo.net/mod/lti/token.phpAuthentication request URL:
https://sandbox.moodledemo.net/mod/lti/auth.php
After you have copied this information, click Cancel.
Step 6. Register the LMS Information in MATLAB and Simulink Online Courses
On the LMS Integration page:
Under Step 6, when prompted, provide the values that you that you copied in Step 5.
Field Name Field Value Client ID Use the value for Client ID from Step 5. Deployment ID Use the value for Deployment ID from Step 5. Issuer Use the value for Platform ID from Step 5. Public keyset URL Use the value for Public keyset URL from Step 5. Auth token endpoint: Use the value for Access token URL from Step 5. OIDC auth request endpoint Use the value for Authentication request URL from Step 5. Click Submit.
The integration is now complete and instructors can add content from MATLAB and Simulink Online Courses to their LMS courses.
Troubleshoot Your MATLAB and Simulink Online Courses LMS Integration with Moodle
Common causes for a failed Moodle integration are:
URLs are protected behind a firewall or not on the public internet. These failures include SSO challenges.
No SSL certificate is provided or the SSL certificate is self signed.
The Moodle server is not sending the complete SSL certificate chain.
URLs do not use HTTPS protocol.
The Moodle server is configured on a nonstandard port number. Moodle servers can be configured behind a proxy service or port mapping at a firewall to ensure the public access to the server is always through port 443.
Your Apache® configuration does not allow all required headers. See the article "'Authorization' header sent with request, but missing from apache_request_headers()."
MATLAB and Simulink Online Courses does not support the submission review message in the latest version of LTI 1.3 as implemented in Moodle.
Clicking links to MATLAB and Simulink Online Courses assignments directly from the Moodle gradebook might have unexpected results or the links might not work. Always click through to assignments from the Moodle syllabus/activity list view.
If you have a nonstandard Moodle installation, you might need to make some configuration changes to allow the MATLAB and Simulink Online Courses server and your server to talk to each other successfully.
Get Help
If at any point in this process you require assistance integrating MATLAB and Simulink Online Courses with your LMS using LTI 1.3, contact MathWorks Technical Support.