when I execute the code i get this errors can anybody help

??? Undefined function or method 'mex_pb_parts_final_selected' for input arguments of type
'double'.
Error in ==> det_mPb at 6
textons, ...
Error in ==> multiscalePb at 24
[bg1, bg2, bg3, cga1, cga2, cga3, cgb1, cgb2, cgb3, tg1, tg2, tg3, textons] = det_mPb(im);
Error in ==> globalPb at 39
[mPb, mPb_rsz, bg1, bg2, bg3, cga1, cga2, cga3, cgb1, cgb2, cgb3, tg1, tg2, tg3, textons] =
multiscalePb(im, rsz);
Error in ==> example at 11
gPb_orient = globalPb(imgFile, outFile);

Answers (1)

Well, the error message is clear. The function mex_pb_parts_final_selected is not found. Assuming you haven't changed matlab's path in your code, it's missing from whatever library you're using.
Have you got that file in your path? From the name it looks like it would be a mex file. Possibly you're meant to compile it.

Categories

Find more on MATLAB Compiler SDK in Help Center and File Exchange

Asked:

on 1 Nov 2016

Answered:

on 1 Nov 2016

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!