help > Matlab toolbox help
Showing 1-3 of 3 posts
Display:
Results per page:
Feb 16, 2017  03:02 PM | Lorena Arancibia
Matlab toolbox help
Hello

I think this may have been asked before, but I just can't seem to get this to work. I've downloaded the Matlab toolbox and am trying to run the makeosmex_rawfile_io.m. I can successfully compile the checkMachineEndian.cpp so I know my compiler is working, but when I try to run the other lines I get the following error:

Error using mex
In file included from /Users/lorenaarancibia/Documents/v3d_matlab_io_basicdatatype/loadRaw2Stack_c.cpp:23:
In file included from /Users/lorenaarancibia/Documents/v3d_matlab_io_basicdatatype/stackutil.cpp:47:
/Users/lorenaarancibia/Documents/v3d_matlab_io_basicdatatype/stackutil.h:22:10: fatal error: 'tiffio.h' file not found
#include "tiffio.h"
^
1 error generated.

I am running Matlab 2016b and the libtiff version is 4.0

Tiff.getVersion()

ans =
LIBTIFF, Version 4.0.0
Copyright (c) 1988-1996 Sam Leffler
Copyright (c) 1991-1996 Silicon Graphics, Inc.

on a mac running osX 10.11.6. The vaa3d version I have is 3.20 (binary release)

I know I'm supposed to make the tiffio.h visible but I have no idea how. Any help will be most appreciated

Thank you

Lorena
Feb 16, 2017  08:02 PM | Zhi Zhou
RE: Matlab toolbox help
Feb 17, 2017  10:02 AM | Lorena Arancibia
RE: Matlab toolbox help
Great thanks! That worked :)