Back to the main page.

Bug 196 - external/afni: isrow is a builtin in Matlab R2010b

Reported 2010-10-28 22:02:00 +0200
Modified 2010-11-17 08:42:58 +0100
Product: FieldTrip
Component: external
Version: unspecified
Hardware: PC
Operating System: Linux
Importance: P1 minor
Assigned to: Jan-Mathijs Schoffelen
Depends on:
See also:

Dimitri Papadopoulos - 2010-10-28 22:02:18 +0200

Function isrow() is a Matlab builtin starting with version R2010b: Initializing FieldTrip under Matlab R2010b results in such errors: Warning: Function /external/afni/isrow.m has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict. I have already reported this issue to AFNI developers, hopefully they will remove isrow.m in a few years' time. In the meanwhile, do you know if removing external/afni/isrow.m is OK? Is this function eventually called by FieldTrip? </p>

Dimitri Papadopoulos - 2010-11-02 08:58:31 +0100

The AFNI developers have sent me this mail: I just renamed isrow to be is_row.m . The afni_src.tgz postdating this message will contain the fix. In the meanwhile, it would be easiest for you to change the few occurrences of isrow in the *.m files to is_row, and mv isrow.m to is_row.m Downloading the latest AFNI Matlab library should fix the problem.

Jan-Mathijs Schoffelen - 2010-11-10 14:43:56 +0100

Dear Dimitri, I replaced the afni directory with a more recent version. could you check whether this works for you and report back to me through bugzilla? Thanks, Jan-Mathijs

Dimitri Papadopoulos - 2010-11-10 14:53:08 +0100

Will have to wait until next Tuesday (we update Fieldtrip weekly and automatically on Tuesday morning).

Dimitri Papadopoulos - 2010-11-16 17:24:32 +0100

Works just fine. Thank you!