AFNI Message Board

Dear AFNI users-

We are very pleased to announce that the new AFNI Message Board framework is up! Please join us at:

https://discuss.afni.nimh.nih.gov

Existing user accounts have been migrated, so returning users can login by requesting a password reset. New users can create accounts, as well, through a standard account creation process. Please note that these setup emails might initially go to spam folders (esp. for NIH users!), so please check those locations in the beginning.

The current Message Board discussion threads have been migrated to the new framework. The current Message Board will remain visible, but read-only, for a little while.

Sincerely, AFNI HQ

History of AFNI updates  

|
July 06, 2012 03:45PM
I've had a few problems with MATLAB resetting the library path. As a fix, I've appending the following to all AFNI commands before calling them via MATLAB. Hope this helps!

export DYLD_LIBRARY_PATH=""


So for example a command to do quick masking of a dataset via 3dcalc looks like this:

mask_command = ['export DYLD_LIBRARY_PATH=""; 3dcalc  -a ',...
                           reg_outputfile, '.TMP+tlrc -b mask.nii.gz ',...
                           '-expr ''step(b)*a'' -prefix ', reg_outputfile];

system(mask_command);
Subject Author Posted

A problem of using matlab to perform AFNI commands

Victor July 06, 2012 03:38PM

Re: A problem of using matlab to perform AFNI commands

Peter Molfese July 06, 2012 03:45PM

Re: A problem of using matlab to perform AFNI commands

Will March 15, 2013 11:53AM