Matlab Grader not working when restore a Moodle course between sites

4 views (last 30 days)
I have two different Moodle sites A and B (last update for LTS 4.1.x) with Matlab Grader working on both systems (a different deployment for each one).
Steps:
  1. Create a Matlab Grader activity in a course in site A
  2. Backup course in site A
  3. Restore course in site B
  4. Launch Matlab Grader activity in the new course at site B -> blank page.
  5. Create and launch a new Matlab Grader activity in the same course at site B -> works OK.
Am I missing something I need to do on the restored course at site B for the Matlab Grader to work?
Thanks.

Accepted Answer

Jeff Alderson
Jeff Alderson on 28 May 2024
Export/Import of courses in any LMS, in this case Moodle, will create new Resource Link IDs for each LTI/external tool type assignment. This has the effect on MATLAB Grader assignments of "breaking" them, so that when the instructor lanches the assignment they are presented with the problem chooser interface.
In order to recover your MATLAB Grader assessment items, you will need to "relink" each assignment in the LMS to the correct MATLAB Grader assessment item. Make sure that you are logged into your MathWorks account as an instructor in the MATLAB Grader app in both site A and site B courses. Docs on this are here: https://www.mathworks.com/help/matlabgrader/ug/link-mathworks-account-to-matlab-grader-assessment-content.html Once that is done, when you are in the MATLAB Grader assignment in the site B course, simply navigate the problem chooser to look for a section called "LMS Courses" identify the name of your Site A course, expand the list of assignments in that course, and choose the name of the assessment item to relink. Repeat these steps as an Instructor for each MATLAB Grader assignment in your site B course.
We do not have any utilities available to automate this process, unfortunately. But it should only take a few seconds to relink each item once you know the steps to do so.

More Answers (0)

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!