help > narginchk
Showing 1-2 of 2 posts
Display:
Results per page:
Dec 5, 2012  03:12 AM | Gunnar Sigurdsson
narginchk
Hi,

When I try to run gdmAlgorithmComparison(4); I get the following error:
??? Undefined function or method 'narginchk' for input arguments of type 'double'.

Error in ==> img2Cdat at 17
narginchk(3, 5)
Error in ==> gdmAlgorithmComparison at 226
image(img2Cdat(mpsegimg,[1,nobj+3],cs(1:nobj+4,:))); axis image; axis off;

Commenting out the line seems to solve the problem.


I'm running Windows 7 64-bit, and a student version of MATLAB with the following toolboxes:

Symbolic Math
Optimization
Image Processing
Signal Processing
Statistics
Dec 5, 2012  03:12 AM | John Bogovic
RE: narginchk
Yes, narginchk is a core Matlab function that, evidently, may not come with some releases.
It is not essential, and so commenting it out is fine.

Thanks for posting this.
John