vistalab / vistasoft

VISTASOFT is the main software repository of the VISTA lab at Stanford University.
http://vistalab.stanford.edu
148 stars 141 forks source link

Nearpoints #251

Closed JWinawer closed 7 years ago

JWinawer commented 7 years ago

Fix to C-code in nearpoints.cxx (lines 323 and 325).

The following code should now work in Matlab versions 2014-2017:

mex('-O', fullfile(vistaRootPath, 'mrAnatomy', 'mex', 'Csource', 'nearpoints.cxx'))

I have verified this in Matlab2016b and Matlab2017b.