From: Mario Fatafehi on
I have a function named fun saved in a function file. I want to call this function from an m file called work with inputs for the function files. I have tried fun(3,5) but it is not working. Matlab command window says The expression to the left of the equals sign is not a valid target for an assignment.
From: Mario Fatafehi on
"Mario Fatafehi" <coruba9(a)hotmail.com> wrote in message <hng16r$8p4$1(a)fred.mathworks.com>...
> I have a function named fun saved in a function file. I want to call this function from an m file called work with inputs for the function files. I have tried fun(3,5) but it is not working. Matlab command window says The expression to the left of the equals sign is not a valid target for an assignment.

I have fixed it. Not a problem.