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

59 Ansichten (letzte 30 Tage)
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??

Antworten (1)

Brahmadev
Brahmadev am 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!

Kategorien

Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by