For all of you having trouble with
srm_boundarygradient or any other of the mex-files: you are probably running Matlab in x64-mode and therefore Matlab will not run the included 32bit files.
On Windows the easiest will be to install a gcc-toolchain since compilation with MSVC seems to fail. A nice how-to has been posted here: http://stackoverflow.com/questions/8552580/using-gccmingw-as-matlabs-mex-compiler
Once I changed the toolchain, mex64-files were successfully created and the code works flawlessly. Thank you!
Dear Image Analyst,
I got the error information when I run this scripts:
Error using fileparts
Too many output arguments.
Error in BlobsDemo (line 191)
[thisFolder, baseFileName, ext, version] = fileparts(thisFile);
Could you please help me with this? Many thx!