Why do I get Undefined function 'blkproc' in home edition

Hello, I am running a small program I wrote 11 years ago. I have not used MATLAB until recently. At first I used the trial version R2016B and the program ran as expected. When the trial expired, I purchased the home version. Now my program fails, saying:
Undefined function 'blkproc' for input arguments of type 'function_handle'.
Error in imOevelse8_1ver2 (line 12)
BW=blkproc(dI,[N,N],@AdaptivelyThreshold); %Blokvis processing med funktionen AdaptivelyThreshold
What is this - does blkproc not exist in the home version? What can I do?

 Accepted Answer

blkproc is the old name. It has been deprecated for years but they have not removed it yet. You should see this:
>> which blkproc
C:\Program Files\MATLAB\R2016b\toolbox\images\images\blkproc.m
If it doesn't say that, you have not purchased the Image Processing Toolbox. Contact sales to add it. Also, start using the newer function "blockproc()".

More Answers (1)

  1. The function is spelled blockproc
  2. You need the imaging toolbox

2 Comments

Are you sure the pseudonym blkproc is not allowed. Well, nevermind that. Do I need to purchase something? Thanks for your answer.
Well, what do you know, blkproc does exist as pointed out by Image Analyst.
It is so deprecated that it's not even documented anymore.
The problem is therefore point 2. You do need to purchase the imaging toolbox.

Sign in to comment.

Categories

Find more on Images in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!