I used the 'standalone_scripts_for_MNI_fsaverage_projection' to transform from MNI152 to fsaverage space. I was able to implement the following function in Matlab ...
I am following your instruction and tried the "test_ipopt.m", but the Matlab stoped with the error message Unrecognized function or variable 'ipopt_osx'. How do I fix ...