File Exchange

image thumbnail

Matlab Grader Test Generator

version 0.2 (51.2 KB) by Robin T. Bye
Test generator for Matlab Grader


Updated 02 Feb 2020

GitHub view license on GitHub

Editor's Note: This file was selected as MATLAB Central Pick of the Week

Matlab Grader Test Generator is a tool to automatically generate tests which can be used in the Matlab Grader learning platform. All you need to provide are two scripts: a reference solution and a learner template. The end result is a .txt file with testing code snippets ready to be pasted into Matlab Grader's assessment environment.

The tool also offers an all-in-one testing script that also can be pasted directly into a Matlab Grader assessment test. The script will automatically test all variables common in the reference solution and the student submission for equality.

Please see the project wiki for more information:

Cite As

Robin T. Bye, Cyber-Physical Systems Laboratory (CPS Lab), NTNU (2020). Matlab Grader Test Generator (, GitHub. Retrieved <Month> <Day>, <Year>.

Comments and Ratings (0)



* Added all-in-one testing script
* Updated example solution and template scripts
* Updated README

Updated example solution and template scripts.

Edited Cite As information.

Added image. Modified "Cite As".

MATLAB Release Compatibility
Created with R2018b
Compatible with R2018a to R2018b
Platform Compatibility
Windows macOS Linux
More Files in the  Distance Learning Community