Uploading files into the MATLAB Grader by the learners

It seems that the MATLAB Grader online tool does not support a file upload feature for learners, though it could be very useful. I am wondering if I can upload a file from my local drive to the ./users/ folder of the Grader by writing a MATLAB code.

Answers (1)

Cris LaPierre
Cris LaPierre on 21 Sep 2018
Edited: Cris LaPierre on 21 Sep 2018
Yes, it is possible to use MATLAB code to load a file to the current working directory in MATLAB Grader, though not directly from your local drive. However, this is something your instructor will provide you instructions for if it is something they want you to do.
Instructors can preload any files they want you to have access to into the current directory. I would therefore check with your instructor before pursuing your approach.

2 Comments

Thank you for your reply. I am the instructor and I know that I can do that but my problem is that I want to put some codes in the learners template helping them to upload their SIMULINK file to run it in MATLAB and get results. I found that it is possible to run the available SIMULINK examples by the MATLAB but I need to run the one from my local drive.
I can't comment on Simulink, as that is not officially supported in MATLAB Grader. As for students uploading files, it is not currently possible to upload a file directly from a local drive to MATLAB Grader. The only way is to place the file somewhere where it can be accessed via a url and use the websave command.

Sign in to comment.

Communities

More Answers in the  Distance Learning Community

Community Treasure Hunt

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

Start Hunting!