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
Satyam Agrawal
Satyam Agrawal 2020년 9월 18일
Yes, it works with Else. Thanks for the response Walter and Jesus.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Test Model Components에 대해 자세히 알아보기

제품


릴리스

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by