Page 1 of 1

Incorrect number of inputs for property-value pairs.

Posted: Thu Jul 20, 2017 1:26 pm
by matlab1
Incorrect number of inputs for property-value pairs.

Re: Incorrect number of inputs for property-value pairs.

Posted: Wed Dec 23, 2020 7:02 pm
by matlab1
Some function in MATLAB, you can set some property-value pairs,
if you enter a incorrect number of inputs, you will see this error.

For example :

SVMModel = fitcsvm(X,Y,'Standardize',true,'KernelFunction','RBF',...
'KernelScale','auto');

If you enter

SVMModel = fitcsvm(X,Y,'Standardize',true,'KernelFunction','RBF',...
'KernelScale');

It will generate error.