How to make code count boxes?

I am trying to recreate Deal or No Deal on Matlab. I have scrambled the cases so the values of the boxes will be different, however I am trying to make it so at the start of the game when you click a box this becomes 'your box'. Then the rest of the game plays out as normal.
I am struggling to make the code realize that once 'your box' has been picked, it should play the game out as normal. Can anyone help with this?
I have attatched relevant bits of code.
Thanks for your help

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeJust for fun についてさらに検索

質問済み:

2016 年 12 月 20 日

編集済み:

2016 年 12 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by