File Exchange

image thumbnail


version (4.78 KB) by Cory Johnson
This code generates a CSV file to upload Cody Coursework scores to Moodle

1 Download

Updated 29 Oct 2016

View License

Cody Coursework has been an awesome tool for our class, but the grading format is a bit rough. Use this file to create a CSV that can create scores for each student to be uploaded to Moodle-or whatever course website you'd like. We also required students to submit a copy of their m file. If this is not relevant, feel free to alter the code to exclude this portion of the grading equation.
-Download/create student master list (only needs to be done once per
semester). If a different format is required, see 'Student List' section
Column 1 is unity id, 2 is name, 3 is email, 4 is section number
Title: student<sem>20##.xlsx
-Download excel file from Cody Coursework
-Create text file for students with no file submission
Title: Lab#_nofile.txt
List unity ID for each student that did not submit, separated by spaces
-Create text file for late submission
Title: Lab#_latefile.txt
List unity ID for each student that submitted late, separated by spaces
-Run codygrades.m in MATLAB
A folder will be created and relevant files will be moved
CSV file will be created
-Upload CSV file to moodle
match email address
match assignment

Cite As

Cory Johnson (2021). codygrades (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (0)

MATLAB Release Compatibility
Created with R2016b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!