Not enough input arguments
Re: Not enough input arguments
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.
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.
Who is online
Users browsing this forum: No registered users and 2 guests