Illegal right hand side in assignment. Too many elements.

Basic question about MATLAB programming
Post Reply
matlab1
Site Admin
Posts: 4797
Joined: Thu Dec 15, 2016 9:30 am
Contact:

Illegal right hand side in assignment. Too many elements.

Post by matlab1 »

tf
matlab1
Site Admin
Posts: 4797
Joined: Thu Dec 15, 2016 9:30 am
Contact:

Re: Illegal right hand side in assignment. Too many elements.

Post by matlab1 »

The solution to this error is very evident.

The balance between two sides of the = is not equal and the right-hand side has more elements.

In other word, the function generates some outputs, but the left variables are not enough to save these outputs.




Post Reply

Who is online

Users browsing this forum: No registered users and 11 guests