You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
So far I have not faced any sudokus this script can not solve. Please do write to report bugs or unsolved sudokus. The code was slow but I updated it to work faster. I have also included a 'clear' button for operational ease and a few more bug fixes.
The GUI can be run with sudokuSolver.m
If anyone wants to skip the GUI and use the basic code only, then comment the first line and uncomment the next few lines in sudokuB.m file and run the script. A file selection window will pop up where CSV format file can be selected as input. Few sample files are provided here.
I also have the script for Matlab7. Do write to me if interested.
Cite As
Indraneel Biswas (2026). Simple Sudoku Solver (https://www.mathworks.com/matlabcentral/fileexchange/29011-simple-sudoku-solver), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired: Sudoku
General Information
- Version 1.2.0.0 (8.7 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux