Files: maze.zip Description: A simple toolbox to create, save, load and draw mazes in MATLAB. Author: Jeremy Kubica Language: Matlab Usage: To install, create a directory "maze" in the /matlabl/toolbox/ directory and add this new directory to the your matlab path. Type "help maze" for information about the functions.
Included functions:
Movement Functions:
maze_XY_from_index - Gets the X and Y coordinates of the location at index.
maze_index_from_XY - Gets the index from the X and Y coordinates.
is_move_valid - Checks the validity and determines the result of a move.
Maze generation and modification functions:
generate_maze - Generates a valid (single unique solution) maze.