External Email - Use Caution        

Dear Freesurfer experts, 

 
 

I have tried to use mris_calc to calculate mean and std and export the variable to bash with this command, 

mean=$(mris_calc mghfile std), but the array is not stored in mean. Is there any other way to calculate, mean and use it in a bash script apart from using matlab?  

 
 

Best regards 

 
 

Knut Jørgen Bjuland