help > Problem with saving masks
Showing 1-4 of 4 posts
Display:
Results per page:
Aug 25, 2016  04:08 PM | Raphael Casseb
Problem with saving masks
Dear experts,

I am using Mac OS X Version 10.9.5, Matlab R2013a and WFU pickatlas 3.0.5b

When I try to save a dilated mask of the Precentral Gyrus, I get the following error:

24-Aug-2016 13:42:32 | FATAL | wfu_pickatlas.m | MException thrown. Stack follows:
24-Aug-2016 13:42:32 | FATAL | validateParent | Line 0325: HAX must be a valid axes handle.
24-Aug-2016 13:42:32 | FATAL | imshow | Line 0244
24-Aug-2016 13:42:32 | FATAL | Update | Line 2546
24-Aug-2016 13:42:32 | FATAL | GenerateMask | Line 2452
24-Aug-2016 13:42:32 | FATAL | SaveMask | Line 2213
24-Aug-2016 13:42:32 | FATAL | cmdSaveMask_Callback | Line 1000
24-Aug-2016 13:42:32 | FATAL | wfu_pickatlas | Line 0110
24-Aug-2016 13:42:32 | FATAL | @(hObject,eventdata)wfu_pickatlas('cmdSaveMask_Callback',hObject,eventdata,guidata(hObject)) | Line 0000

Any ideas?

Thank you very much,
Raphael
Aug 25, 2016  05:08 PM | Raphael Casseb
RE: Problem with saving masks
I have just tried again today, and I got the following error now:

25-Aug-2016 11:20:20 | FATAL | wfu_pickatlas.m | MException thrown. Stack follows:
25-Aug-2016 11:20:20 | FATAL | mat2file | Line 0016: mat2file.c not compiled - see Makefile
25-Aug-2016 11:20:20 | FATAL | subfun | Line 0132
25-Aug-2016 11:20:20 | FATAL | subsasgn | Line 0070
25-Aug-2016 11:20:20 | FATAL | spm_write_plane | Line 0033
25-Aug-2016 11:20:20 | FATAL | spm_write_vol | Line 0083
25-Aug-2016 11:20:20 | FATAL | SaveMask | Line 2216
25-Aug-2016 11:20:20 | FATAL | cmdSaveMask_Callback | Line 1000
25-Aug-2016 11:20:20 | FATAL | wfu_pickatlas | Line 0110
25-Aug-2016 11:20:20 | FATAL | @(hObject,eventdata)wfu_pickatlas('cmdSaveMask_Callback',hObject,eventdata,guidata(hObject)) | Line 0000
Aug 25, 2016  05:08 PM | Raphael Casseb
RE: Problem with saving masks
Hi,

I have just found out that the error was because wfu_pickatlas folder was not inside spm12/toolbox folder.

By moving the folder to that location, everything works.

Kind regards,
Raphael
Aug 25, 2016  07:08 PM | Benjamin Wagner - UT Southwestern Medical Center
RE: Problem with saving masks
Hello Raphael,
  I'm glad you were able to figure it out.  
Ben