MATLAB Answers

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

3 views (last 30 days)
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:

Accepted Answer

Jesús Zambrano
Jesús Zambrano on 17 Sep 2020

  3 Comments

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by