Learn MATLAB® by playing. Write real code to fix the machines in a robotics lab: 12 worlds and 97 short levels, from your first variable to writing your own functions.
Full game
Badges
Class
Accounts and classes aren't switched on in this copy of the game, so progress stays on this device.
Got a class code from your instructor? Join so your progress counts. No email or password needed.
Account (optional)
Create a free account to keep your progress on any device. You can play without one. Instructors need an account to run a class.
Choose a new password for your account.
Custom worlds
Teachers and students can build their own levels here. Custom levels give stars but no bolts.
Briefing
Your code
script.m
Model answer
There is usually more than one right way. Compare this with your own code.
Command window
Workspace
Changes save as you type.
World
Levels
Level 1
What counts as correct
Class
Due dates. Pick a world and the day it is due. Students see the date on that world, and the table marks who is late.
W1 to W12 show levels passed in each world. "Working on" is the first level a student hasn't passed. Stars are reported by each student's browser, so use them as a practice record, not as a secure grade.
Custom worlds for this class
Assigned worlds show up on every student's lab screen, and their progress appears in the table above.
Deleting a class erases its students and their progress.