Back to the main page.

Bug 2195 - ft_lateralizedpotential.m strmatch

Status CLOSED FIXED
Reported 2013-06-11 22:32:00 +0200
Modified 2015-07-15 13:30:46 +0200
Product: FieldTrip
Component: core
Version: unspecified
Hardware: Macintosh
Operating System: Mac OS
Importance: P3 minor
Assigned to: Jim Herring
URL:
Tags:
Depends on:
Blocks:
See also:

Tim Curran - 2013-06-11 22:32:40 +0200

fieldtrip - 20130604 ft_lateralizedpotential.m lines 114 to 117 strmatch should be changed to strcmp. strmatch detects partial matches that are unwanted. Matlab also warns that strmatch will be removed in future versions. thanks Tim


Jim Herring - 2013-09-24 15:44:15 +0200

Assigned myself, will make the above suggested changes.


Jim Herring - 2013-09-24 15:48:11 +0200

Dear Tim, I've updated the function as per your suggestions. Could you please verify that the function behaves as expected? Also, would it be possible for you to send a small snippet of data so I can create a test-script for this function? Sending ft_lateralizedpotential.m Transmitting file data . Committed revision 8513.