In the NewMaze function, get the text of the selected branching mode and use it as the second input to the amaze function.

56 views (last 30 days)
In the NewMaze function, get the text of the selected branching mode and use it as the second input to the amaze function. In these que, in code view iam writing the correct still it shows "Does the NewMaze callback use the value from the branching mode button group?" What to do now??

Answers (1)

Brahmadev
Brahmadev on 4 Apr 2024
Hi @Layba,
According to the task in App Building Onramp, you can edit the NewMaze callback and pass the Branching Mode as the second input by:
[wall,wx,wy] = amaze(gridsize, app.BranchingModeButtonGroup.SelectedObject.Text); % Change the button group name as necessary
Hope this helps!

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!