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?

 采纳的回答

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()".

更多回答(1 个)

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

2 个评论

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.

请先登录,再进行评论。

类别

在 帮助中心 和 File Exchange 中查找有关 Images 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by