Back to the main page.

Bug 2503 - nearest.m function in utilities overrides original matlab function of the same name

Status ASSIGNED
Reported 2014-03-18 14:26:00 +0100
Modified 2015-02-11 10:43:27 +0100
Product: FieldTrip
Component: core
Version: unspecified
Hardware: All
Operating System: All
Importance: P5 normal
Assigned to: Robert Oostenveld
URL:
Tags:
Depends on:
Blocks:
See also:

Thomas Hartmann - 2014-03-18 14:26:34 +0100

FieldTrip ships with a function called "nearest" that resides in the utilities directory. the fixed point toolbox of matlab has a function of the same name that does something completely different. i would suggest renaming the function, adding the ft_ prefix to prevent problems.


Jan-Mathijs Schoffelen - 2014-03-19 13:58:16 +0100

Thanks Thomas, We'll look into it. Your suggestion sounds fair.