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

57 ビュー (過去 30 日間)
Layba
Layba 2024 年 3 月 26 日
回答済み: Brahmadev 2024 年 4 月 4 日
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??

回答 (1 件)

Brahmadev
Brahmadev 2024 年 4 月 4 日
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!

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by