# MATLAB: Sudoku Solver – SciLab – Error 4

algorithmbacktrackingerrorscilabsolversudoku

So I am trying to write a program that solves sudoku's. I'm using scilab at the moment.
I keep getting errors in my recursive algorithm and I don't see what's wrong. Any help is welcome.

 solve(board)                    // and we repeat until check(board) gives true
 S = solve(board)
 S(x,y) = 0
 board(x,y) = 0