Error: An array for multiple LHS assignment cannot contain LEX_TS_NUMBER

조회 수: 6 (최근 30일)
J G RAO
J G RAO 2017년 3월 6일
답변: Walter Roberson 2017년 3월 6일
i am trying to do db1 in program i was get like this Error: An array for multiple LHS assignment cannot contain LEX_TS_NUMBER
how can resolve this one???

답변 (1개)

Walter Roberson
Walter Roberson 2017년 3월 6일
For example a couple of months ago the cause was that someone had
[gen_pol, 1] = bchgenpoly(n, k);
Which tries to use the number 1 as the name of the variable to output the second result to.
In your cause you might have something like
[db 1] = ...
where you intended
[db1] = ...

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by