Too many input arguments.

Basic question about MATLAB programming
Post Reply [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
matlab1
Site Admin
Posts: 3881
Joined: Thu Dec 15, 2016 9:30 am
Contact:

Too many input arguments.

Post by matlab1 » Fri Dec 16, 2016 9:42 pm

In MATLAB when you see this error, It means you call a function with many inputs.

for example :


You have the following function :

y = myfun(a,b)
y = a + b;



When you call this function :

>> myfun (3,5,7)

This error happens.


But if you type :

>> myfun(6,7)

13

Post Reply [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Who is online

Users browsing this forum: No registered users and 1 guest