Simple Sudoku Solver
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 (2024). Simple Sudoku Solver (https://www.mathworks.com/matlabcentral/fileexchange/29011-simple-sudoku-solver), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxTags
Acknowledgements
Inspired: Sudoku
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.