I use the following function in a Matlab program:
...
...
...
[A, B, C, D, E] = function (F, G, H, I, J, K, L, M, N, O, P)
...
...
...
and I get the following error message:
??? Error using == function
Too many output arguments.
A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P are the vectors of inputs and outputs of the function.
but the same program works very well when I replaced the line of the function by its full script!
Can you tell me where I should look to find the error..