Matlab Grader Test Generator

Version 0.2 (47.5 KB) by Robin T. Bye
Test generator for Matlab Grader
Updated 2 Feb 2020

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>.

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

Community Treasure Hunt

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

Start Hunting!

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes

* 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".


To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.