필터 지우기
필터 지우기

how to convert non-scalars to scalars in simulink?

조회 수: 5 (최근 30일)
Anu  Sri
Anu Sri 2019년 3월 12일
if ((2*(2*x)-1) < size(m) & (2*(2*y)-1) < size(m))
Expected a scalar. Non-scalars are not supported in IF or WHILE statements, or with logical operators. Instead, use ALL to convert matrix logicals to their scalar equivalents.
how can i do it?

답변 (0개)

카테고리

Help CenterFile Exchange에서 Simulink Environment Customization에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by