How to use openslide library in MATLAB?

343 Views Asked by At

How should I install openslide library and load it in MATLAB? Using openslide_load_library() I got the following error: libopenslide.0.dylib not available on the MATLAB path

1

There are 1 best solutions below

0
Cris Luengo On

I assume that you are using the OpenSlide MATLAB bindings by Daniel Forsberg.

The installation instructions read (emphasis mine):

Add the folder and any sub folders to the MATLAB path. Also download source code or binaries for OpenSlide from http://openslide.org/download/. If downloading the source, make sure to follow instructions provided by OpenSlide for compiling the binaries. Remember to also add the folders of these libraries and the include files to the MATLAB path.

It seems to me that you didn’t add the folders of the OpenSlide libraries and include files to the MATLAB path.