Forum

Welcome Guest 

Show/Hide Header

Welcome Guest, posting in this forum requires registration.





Pages: [1]
Author Topic: Matlab could not find the NiftyRec libraries
BillX
Newbie
Posts: 1
Permalink
Post Matlab could not find the NiftyRec libraries
on: July 19, 2016, 16:47
Quote

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:pi-pi/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?
Image
Image

tomography is amazing.

zshirzadi
Newbie
Posts: 1
Permalink
Post Re: Matlab could not find the NiftyRec libraries
on: April 18, 2017, 21:01
Quote

I have the same problem. Is there any way to solve this? I tried to use "export" command instead, but did not work, unfortunately!

Thanks so much,
-Zahra

Pages: [1]
Mingle Forum by cartpauj
Version: 1.0.34 ; Page loaded in: 0.092 seconds.
{lang: 'en-GB'}