Random maze generator

A random maze generator implemented in Matlab. Maze is always solvable.
323 Downloads
Updated 21 Aug 2016

View License

This maze generator generates a maze composed of several component types. The maze is generated by random iterative swapping of interchangeable parts as well as random attachments of new parts. I've also added functions for displaying and/or saving the generated maze as an image. The code is slow however it is meant to be more of one approach to maze generation rather than anything else.
To learn how to use the functions please try running the example_script.m script. of more reading on this go to https://easterneuropeanbarbarian.wordpress.com/2016/01/24/matlab-maze-generator/

Cite As

Adam Ivansky (2026). Random maze generator (https://www.mathworks.com/matlabcentral/fileexchange/58803-random-maze-generator), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2015a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Labyrinth problems in Help Center and MATLAB Answers
Version Published Release Notes
1.0.0.0

just a new pic