Can I open a MATLAB Grader problem from MATLAB Home?

9 views (last 30 days)
I use MATLAB Home (matlab.mathworks.com) to see my assigned courses, projects, and MATLAB files. Can I open one of my assigned MATLAB Grader problems directly from the MATLAB home page?
  2 Comments
Steffen
Steffen on 10 Oct 2025 at 8:48
I have some questions regarding the interaction of Matlab Grader and Matlab Online:
1) In the Grader, typycally some file with code or data can be uploaded, which can be accessed by the reference solution and the learner solution. If the learner opens the problem in Matlab Online, is there a way to see/access these files? Currently the learner only gets the code_to_call live script and the learner solution there.
2) It's nice to be able to acces the Grader problem in Matlab Online, but is there also a way to enable the learner to work on the problem on a local Matalb installation?
3) The code_to_call in Matlab Online is always a live script (mlx). Is it possible to change this behaviour in order to get a plan script (.m)?
Jeff Alderson
Jeff Alderson on 11 Oct 2025 at 15:36
1) Similar to using MATLAB Grader in a web browser, the solution code and the "Reference Files" are all in the same directory. Learner solutions can call datafiles and functions uploaded by the Instructor from their solution code, even from within the Live Script of their solution when solving in MATLAB Online. Just like the web browser version of MATLAB Grader, learners can not browse to see what files were included. However, the instructor can and should give explicit instructions, either in the Description field, or in comments in th ecode itself, if you want the learner to make use of specific filenames or function handles you provide to them in their solution.
2) No, submitting a MATLAB Grader solution from a local desktop installation of MATLAB is currently not possible. However, a learner can make use of desktop MATLAB to work on their code, and then copy/paste that into any web-accessible version of MATLAB Grader.
3) No, the solution code areas provided for the reference solution, learner template, and other code areas are Live Scripts. It would be useful to know why a .M file is preferred.

Sign in to comment.

Accepted Answer

Jeff Alderson
Jeff Alderson on 1 Apr 2024
This functionality is under consideration for future updates. For now, please login to grader.mathworks.com, access your Course/Assignment/Problem, and click "Open Problem in MATLAB Online" from the problem page.

More Answers (0)

Categories

Find more on Entering Commands in Help Center and File Exchange

Products


Release

R2024a

Community Treasure Hunt

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

Start Hunting!