Can I open a MATLAB Grader problem from MATLAB Home?

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?

4 Comments

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)?
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.
Regarding 2) it is completely fine, that the learner uses copy/paste from desktop MATLAB to the Grader. But to be able to build their solution on desktop MATLAB, they need access to the "Reference Files". So from my point of view it would be ideal to have a button in Grader to download the problem including all files in order to solve the problem first in desktop MATLAB and then copy/paste the solution to the Grader.
Regarding 1) Ok, but I don't get the point, why the learner is not allowed to see the reference files directly. Btw. there is a way to open these files: set a breakpoint and step in to the file during debug. But of course that is very inconvenient.
Regarding 3) I'm not a big fan of livescripts. I use .m scripts in the classroom, and .m scripts are also used in Grader. So I don't understand why users are forced to use livescripts in Online Matlab when working on a Grader problem. Perhaps users could be allowed to choose which format they prefer?
1 & 2) I will take this feedback to the product team to consider enhancements related to how we allow students to access the referenced files. Another method you have available is to put a link to a MATLAB Drive or Github repository in your problem description that includes any supplemental files or information you want the learners to have access to when they complete their solutions, whether on desktop or in MATLAB Online. Providing a link to a MATLAB Project file stored in Github using this format would be ideal: https://www.mathworks.com/products/matlab-online/git.html
3) You are incorrect in that LiveScripts have always been used behind the scenes in Grader as part of the Live Editor component where the instructor authors the reference solution, and the learner authors their own solution. The limited interface we show only shows the line numbered code sections of the script. Opening in MATLAB Online gives the students more flexibility to comment and document their code for their own purposes. MATLAB Grader only cares about the output of the solution in total, so I see you point about flexibility of solution format. I'll take the feedback to the product team.

Sign in to comment.

 Accepted Answer

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

Products

Release

R2024a

Community Treasure Hunt

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

Start Hunting!