pulmonarytoolkit icon indicating copy to clipboard operation
pulmonarytoolkit copied to clipboard

undefined function 'ordf'

Open cat2tom opened this issue 8 years ago • 3 comments

Sorry for another question. After manage to load CT images, click any module, it always failed and gave some the following information:

The plugin PTKSpongeModel failed with the following error: Undefined function 'ordf' for input arguments of type 'double'

Could you help me to resolve the problem? I am using matlab 2015a on Window 7.

Thanks

cat2tom avatar May 23 '17 00:05 cat2tom

Really impressive! You created your own GUI system using OOP.

cat2tom avatar May 30 '17 04:05 cat2tom

So far I've not been able to reproduce this on R2015b or R2016b. It sounds like a problem with the Matlab image processing toolbox but it's hard to confirm that. Do you have the image processing toolbox installed and does it match your version of Matlab? And is it correctly on your path? You could try executing some example uses of Matlab's ordfilt2function and see if that works correctly.

tomdoel avatar Jun 01 '17 18:06 tomdoel

NB. I'm planning to spin out the GUI system soon as a separate project so it can be used to create custom GUI applications

tomdoel avatar Jun 01 '17 18:06 tomdoel