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

3 ビュー (過去 30 日間)
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:

採用された回答

Jesús Zambrano
Jesús Zambrano 2020 年 9 月 17 日
  3 件のコメント
Jesús Zambrano
Jesús Zambrano 2020 年 9 月 18 日
Let´s see the response from Satyam.
Satyam Agrawal
Satyam Agrawal 2020 年 9 月 18 日
Yes, it works with Else. Thanks for the response Walter and Jesus.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeTest Model Components についてさらに検索

製品


リリース

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by