The quick solution is to add that path to your default matlab path, with the added benefit that you can then use ciftiopen and related in your own code. Our setups always have a version of these functions in the default matlab path, which is probably why we missed this.
Tim On Thu, May 9, 2019 at 1:08 PM Moataz Assem <moataz.as...@mrc-cbu.cam.ac.uk> wrote: > Hi, > > > > When running MSMAllPipelineBatch, it ultimately calls the matlab function > ComputeVN (in my case, running the matlab interpreted version) which then > crashes because it doesn’t recognize the “ciftiopen” function. Obviously it > can’t find the directory where the function is. I have already pointed > $MATLAB_GIFTI_LIB in SetUpHCPPipeline.sh to > …./HCPpipelines-4.0.0/global/matlab but I suspect this isn’t used properly. > > > > The MSMAllPipelineBatch doesn’t ask for any related directory inputs. When > computeVN is called by SingleSubjectConcat.sh, there is no addpath pointing > to the cifti functions. So am I missing something and the directory does > get pointed to somewhere earlier? > > > > Thanks > > > > Moataz > > _______________________________________________ > HCP-Users mailing list > HCP-Users@humanconnectome.org > http://lists.humanconnectome.org/mailman/listinfo/hcp-users > _______________________________________________ HCP-Users mailing list HCP-Users@humanconnectome.org http://lists.humanconnectome.org/mailman/listinfo/hcp-users