I try to run the example metioned in et_backproject:
N = 128;
n_cameras = 100;
use_gpu = 1;
sinogram = ones(N,N,n_cameras);
PSF = ones(3,3,n_cameras);
cameras = [0:pi/n_cameras:pipi/n_cameras]';
%image = et_backproject(sinogram,cameras,PSF,use_gpu);
The problem described in "http://niftyrec.scienceontheweb.net/wiki//index.php?title=Get_started_in_Matlab" was met.
I closed the matlab and open a terminal, and then type the following "extern DYLD_LIBRARY_PATH=/Users/zhanghaoran/Desktop/nocuda/NiftyRec/lib/:$DYLD_LIBRARY_PATH $ /Applications/MATLAB_R2015a.app/bin/matlab" (the NiftyRec installation path is modified according to my situation ).
But it returns that "extern: command not found". And I try to search the grammar of extern, but found it's not a shell script command.
Can Someone help me solve the problem?
