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.
引用格式
Indraneel Biswas (2024). Simple Sudoku Solver (https://www.mathworks.com/matlabcentral/fileexchange/29011-simple-sudoku-solver), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux标签
致谢
启发作品: Sudoku
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!