CAT12 segmentation failed

Dear all,
I have a problem with segmentation with the new CAT12 implementation in Brainstorm.
I imported the T!-weighted MRI and then I lunched the segmentation process.
Here is the screenshot of the error in Matlab command window.

Thanks for the help in advance.

Antonio

Hi Antonio,

Does the file /root/.brainstorm/tmp/cat12/surf/lh.central.spm_cat12.gii exists at the moment it crashes?
Are you sure your SPM12 version is up-to-date (run "spm update")?
And that you don't have multiple versions of SPM12 in your Matlab path (clean your Matlab path before starting again)?

Francois

Dear Antonio,

it looks like that SPM12 is not yet updated. Please call spm_update from the Matlab command line.

Best,

Christian

Hi Antonio,

not sure whether you solved the problem or not it seems like you are lacking spm_ov_mesh.m in your SPM12 folder, which I encountered as well. So you can download it from here https://github.com/spm/spm12/blob/master/spm_orthviews/spm_ov_mesh.m and then put it into spm_orthviews folder under spm12 toolbox folder and then set your path for that folder again.

Best wishes

Lisa

I installed a clean and updated version of SPM12 and it worked.
Thank you all!