Error: An array for multiple LHS assignment cannot contain LEX_TS_NUMBER

4 views (last 30 days)
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???

Answers (1)

Walter Roberson
Walter Roberson on 6 Mar 2017
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] = ...

Categories

Find more on Programming in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!