Can I open a MATLAB Grader problem from MATLAB Home?

9 vues (au cours des 30 derniers jours)
Jeff Alderson
Jeff Alderson le 1 Avr 2024
Modifié(e) : Walter Roberson le 11 Oct 2025 à 16:08
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 commentaires
Steffen
Steffen le 10 Oct 2025 à 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 le 11 Oct 2025 à 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.

Connectez-vous pour commenter.

Réponse acceptée

Jeff Alderson
Jeff Alderson le 1 Avr 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.
  2 commentaires
Sakshi
Sakshi le 19 Avr 2024
Hey it says
MATLAB Grader problem could not be opened
Return to MATLAB Grader and try again.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Entering Commands dans Help Center et File Exchange

Produits


Version

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by