why do I have unrecognized function error for z?

I thought I defined z by putting it in the switch.

1 Kommentar

KSSV
KSSV am 20 Nov. 2020
Don't attach your code as a image snippet. You can always copy paste your code here.
What is variable buff?

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Steven Lord
Steven Lord am 20 Nov. 2020

0 Stimmen

What should the value of z be if buff is none of "none", "30min", or "60min"? What if buff was "30 minutes", for example?

Kategorien

Mehr zu Aerospace Blockset finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 20 Nov. 2020

Beantwortet:

am 20 Nov. 2020

Community Treasure Hunt

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

Start Hunting!

Translated by