필터 지우기
필터 지우기

How do you put multiple lines into a 'when' condition in Simulink Test Assessment?

조회 수: 3 (최근 30일)
Gergely
Gergely 2023년 7월 26일
답변: Pratheek 2023년 8월 24일
I would like to put a long, relatively complex condition into a test step with 'when' decomposition in a Simulink Test Assessment block.
Example:
step_1_1 when ABCD1==1 &...
ABCD2==1 &...
ABCD3==1 &...
ABCD4>1 &...
ABCD5<10
However, this leads to syntax error both with '...' or without '...'. I really don't want to restrict it to 1 line, the variable names are long, and there are many of them.
So how do you put multiple lines into a 'when'?

답변 (1개)

Pratheek
Pratheek 2023년 8월 24일
Hi Gergely,
I understand you want to use multiple lines on a when decomposition, unfortunately this is not possible currently. The entire when condition has to occur on first line.

카테고리

Help CenterFile Exchange에서 Inputs에 대해 자세히 알아보기

태그

제품


릴리스

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by