Dan
unread,Jul 25, 2012, 4:43:05 PM7/25/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to nipy...@googlegroups.com
Hello,
When I try to use the SPM Normalize interface, specifically the write_preserve input option, I get an error from MATLAB:
Standard error:
MATLAB code threw an exception:
Undefined function or variable 'False'.
I'm guessing this is because it is expecting either a 1 or a 0 for that field instead of "True" or "False." However, if I try to put a 0 in that field, I get an error from Traits, saying it must be a boolean.
Changing the NormalizeInputSpec from Bool to Int seems to fix this problem. I suppose it also opens the possibility of entering an integer other than 1 or 0, but I think handing that down to MATLAB to deal with isn't an issue since MATLAB would produce an error in that situation.
Best,
Dan