Error: An array for multiple LHS assignment cannot contain LEX_TS_NUMBER

4 次查看(过去 30 天)
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 中查找有关 Programming 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by