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

55 vues (au cours des 30 derniers jours)
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??

Réponses (1)

Brahmadev
Brahmadev le 4 Avr 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!

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by