MATLAB Answers

upload files to question description - MATLAB GRADER

5 views (last 30 days)
barak b
barak b on 9 Feb 2020
Answered: Cris LaPierre on 11 Feb 2020
Hello :)
I want to create "tasks" that use the files provide to students.
I knows the files can be uploaded to a free service (e.g. DropBox), and then provide students with code that loads those files from the DropBox link.
The question is whether there is a more elegant way to do it.
That is, provide students with a pre-made folder that will be part of the exercise or even a pre-prepared workspace. Something like MATLAB Drive style.
Thanks~

  0 Comments

Sign in to comment.

Accepted Answer

Cris LaPierre
Cris LaPierre on 11 Feb 2020
Is this for students to work on the problems in MATLAB Grader or on their own version of MATLAB?
You can add files to a MATLAB Grader problem. These files are added to the current folder of the problem, meaning they are available to the students to use in their solution.
Students can't see these files easily, so it is recommended you provide them the names of the files as well as instructions of what they are to do with the files in the problem description. If you would like to provide students access to the files to use outside of Grader, you can use the hyperlink to the file provided in Grader once a file has been added. Note that the name of each added file is a hyperlink. You can see an example of this in several of the Getting Started with MATLAB Grader example problems available in the Add Problem screen. Here is a screen shot of the "Determine the drag coefficient by fitting a polynomial to velocity-force data" problem.
2020-02-10_23-07-41.png
Here, we opted to have the Learner Template load the data for the learner. However, you could also have the students do this themselves if you so desire (and they have been taught how to do it already).
2020-02-10_23-16-04.png

  0 Comments

Sign in to comment.

More Answers (0)

Sign in to answer this question.


Translated by