Page 1 of 1

Not enough input arguments

Posted: Fri Dec 16, 2016 9:42 pm
by matlab1
tg

Re: Not enough input arguments

Posted: Tue Aug 25, 2020 11:25 am
by matlab1
This error is very clear,

When you call a function in MATLAB, but you do not enter the required number of inputs, you will see this error message.

For example :

function n = myfun(a,b)
n = a-b+50



if you call the top function as follows

myfun(77)

You will face this error.