Why am I getting **Illegal use of reserved keyword "else"** in the following assessment block?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Satyam Agrawal
el 18 de Jul. de 2020
Comentada: Satyam Agrawal
el 18 de Sept. de 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 comentario
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
Más información sobre Inputs en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!