MATLAB: How do students/learners know the contents of reference files in MATLAB Grader

distance_learningmatlab_grader

How do students know the names of variables that were made available to them in reference files? How can the student view the contents of files that were added to reference files?

Best Answer

A best practice is to include lines of code that call the reference files or functions the instructor wants to run in order to set up the students' workspace, and then lock those lines of code so that they are not editable. Then the student can use the "who" or "whos" commands to explore the contents of the workspace. Additionally, the files themselves will be available to the student to interact with in their solution. It is common to call out the names of the files and how you want the student to interact with them in the problem description itself.