why do I have unrecognized function error for z?

1 回表示 (過去 30 日間)
John Martinez
John Martinez 2020 年 11 月 20 日
回答済み: Steven Lord 2020 年 11 月 20 日
I thought I defined z by putting it in the switch.
  1 件のコメント
KSSV
KSSV 2020 年 11 月 20 日
Don't attach your code as a image snippet. You can always copy paste your code here.
What is variable buff?

サインインしてコメントする。

回答 (1 件)

Steven Lord
Steven Lord 2020 年 11 月 20 日
What should the value of z be if buff is none of "none", "30min", or "60min"? What if buff was "30 minutes", for example?

カテゴリ

Help Center および File ExchangeGet Started with MATLAB についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by