Why am I getting **Illegal use of reserved keyword "else"** in the following assessment block?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Satyam Agrawal
le 18 Juil 2020
Commenté : Satyam Agrawal
le 18 Sep 2020
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:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/333561/image.jpeg)
Error:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/333564/image.jpeg)
1 commentaire
Réponse acceptée
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Inputs dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!