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

3 vues (au cours des 30 derniers jours)
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:

Réponse acceptée

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

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Test Model Components dans Help Center et File Exchange

Produits


Version

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by