Why am I getting **Illegal use of reserved keyword "else"** in the following assessment block?

3 Ansichten (letzte 30 Tage)
I am writting assessment for simulink test sequence using "when decomposition". I want to verify outputs only in few conditions but i have to use "else" statement otherwise it gives another error. Can someone tell why I am getting error for the below condition.
Condition:
Error:

Akzeptierte Antwort

Jesús Zambrano
Jesús Zambrano am 17 Sep. 2020
  3 Kommentare
Satyam Agrawal
Satyam Agrawal am 18 Sep. 2020
Yes, it works with Else. Thanks for the response Walter and Jesus.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Test Model Components finden Sie in Help Center und File Exchange

Produkte


Version

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by