Error: An array for multiple LHS assignment cannot contain LEX_TS_NUMBER

2 vues (au cours des 30 derniers jours)
J G RAO
J G RAO le 6 Mar 2017
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???

Réponses (1)

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

Catégories

En savoir plus sur Matrix Indexing dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by