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

3 visualizaciones (últimos 30 días)
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:

Respuesta aceptada

Jesús Zambrano
Jesús Zambrano el 17 de Sept. de 2020
  3 comentarios
Satyam Agrawal
Satyam Agrawal el 18 de Sept. de 2020
Yes, it works with Else. Thanks for the response Walter and Jesus.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Test Model Components en Help Center y File Exchange.

Productos


Versión

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by