Have the sudoku.m & sudoku.fig in the same folder.
Type "sudoku" on matlab prompt and run it.
Enter the known digits in the blank squares.
Click "Solve" button.
Click "Clear All" to start afresh.
I am currently working on algorithm to solve the difficult ones.
This only solves the easy ones.
Also note that the edit boxes can take multiple numbers right now. I still have to write code for data validation.
I have put my code only so that somebody starting from scratch may find something useful..either in terms of gui or the basic algorithm.
Let me know your feedback.
Cite As
Tushar G (2023). Easy Sudoku (https://www.mathworks.com/matlabcentral/fileexchange/24434-easy-sudoku), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxTags
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.