Error: An array for multiple LHS assignment cannot contain LEX_TS_NUMBER

4 visualizzazioni (ultimi 30 giorni)
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???

Risposte (1)

Walter Roberson
Walter Roberson il 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] = ...

Categorie

Scopri di più su Programming in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by