AI-assisted MATLAB Grader problem authoring tool by VeriQAI.
MATLAB and MATLAB Grader are trademarks of The MathWorks, Inc. This tool is not affiliated with or endorsed by MathWorks.
Open https://veriqai.github.io/MatlabGraderProblemGenerator/ in Chrome or Edge.
git clone https://github.com/VeriQAi/MatlabGraderProblemGenerator.git
cd MatlabGraderProblemGenerator
npm install
npm run dev
# → http://localhost:3002/MatlabGraderProblemGenerator/- Enter your Anthropic API key — sign up, purchase API credits, and create a dedicated key with a spending limit at console.anthropic.com before use.
- Select a Claude model (Sonnet 4.6 recommended).
- Enter a learning objective and choose Script or Function problem type.
- Accept the usage conditions.
- Click Generate 5 Problem Options and select the ones you want to develop.
- Each selected problem is developed into 4 artifacts — review each one, then download.
For each selected problem:
| File | Paste into MATLAB Grader |
|---|---|
*_description.txt |
Problem Description tab |
solution.m |
Reference Solution tab |
template.m |
Learner Template tab |
all_tests.m |
Each % === TEST N === section → separate Test Case |
Test cases are written for R2025b (double-quoted assessPattern strings).
- Your API key is used only in your browser session and sent only to
api.anthropic.com. - It is never stored, logged, or persisted anywhere — gone on page refresh.
- A Content Security Policy (
connect-src https://api.anthropic.com) restricts all network calls to Anthropic's API only.
API usage is very low. Generating and fully developing 4 problems (approx. 20 API calls) costs around $0.05–$0.10 with Claude Sonnet 4.6. A $5 spending limit is more than enough for extensive use.
Sign up, purchase credits, and create a key at console.anthropic.com.
npm run deploy # builds and pushes to gh-pages branch
git push origin mainGenerated content is produced by an AI model and must be reviewed before use in any assessment context. This tool is provided "as is" under the MIT licence without warranty of any kind. VeriQAI accepts no liability for inaccurate, incomplete, or harmful content.
React, Vite, Tailwind CSS, JSZip, Lucide, and the Anthropic SDK.
MIT — VeriQAI