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  

|
Daniel Glen
January 28, 2009 11:05AM
I didn't run into any problems using your command in matlab using your exact command (you're right; the spaces don't matter; they are outside the quotes for matlab variables). My .bashrc is empty though, so that's a small difference. You can specify the path to 3dUndump in the command instead. You can also try using 'cat' to check the numbers are getting piped correctly like this:

>> cmd = ['source ~/.bashrc; echo -45 -67 36 | cat -']

cmd =

source ~/.bashrc; echo -45 -67 36 | cat -

>> system(cmd);
-45 -67 36

If you would like to try the Matlab library, MatAFNI_Demo.m provides some examples of using the various functions, particularly the WriteBrik function.
Subject Author Posted

3dUndump trough Matlab of from terminal does not produce same result

Maarten Mennes January 26, 2009 10:19AM

Re: 3dUndump trough Matlab of from terminal does not produce same result

Daniel Glen January 26, 2009 12:33PM

Re: 3dUndump trough Matlab of from terminal does not produce same result

Maarten Mennes January 27, 2009 05:37PM

Re: 3dUndump trough Matlab of from terminal does not produce same result

Daniel Glen January 28, 2009 11:05AM

Re: 3dUndump trough Matlab of from terminal does not produce same result

Maarten Mennes January 28, 2009 02:16PM

Re: 3dUndump trough Matlab of from terminal does not produce same result

Daniel Glen January 28, 2009 02:33PM