Rubik's Cube Simulator and Solver
This program simulates, manipulates and solves all rubik's cubes. Includes webcam recognition.
You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Cite As
Joren Heit (2026). Rubik's Cube Simulator and Solver (https://www.mathworks.com/matlabcentral/fileexchange/31672-rubik-s-cube-simulator-and-solver), MATLAB Central File Exchange. Retrieved .
Acknowledgements
General Information
- Version 1.9.0 (2.44 MB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.9.0 | Updated screenshot (Windows version), minor bugfixes |
||
| 1.8.0 | Added parity.m, which I forgot to include in the last version. |
||
| 1.6.0 | Major changes! New, more efficient solving mechanism, supporting 2x2x2, 3x3x3 and 4x4x4 cubes. New button lay-out and extensive explanatory pdf. |
||
| 1.5.0 | Added option to solve cube using inverse scramble (higher dimension cubes can be solved now). Option to display row numbers on the cube. Added full validity check when editing the cube manually. |
||
| 1.4.0 | Improved step 1 in the solving algorithm, has resulted in more stable solve time (0-2 sec). |
||
| 1.2.0 | Added Save/Open functionality.
|
||
| 1.1.0 | Removed a couple of bugs, improved the ouput solution + animation of the solution. Added the 'Undo' button and option to hide current scramble. |
||
| 1.0.0 |