Back to the main page.

Bug 2209 - MATLAB documentation states strmatch is not recommended, use STRNCMP instead

Status CLOSED FIXED
Reported 2013-06-23 13:41:00 +0200
Modified 2013-09-18 13:19:14 +0200
Product: FieldTrip
Component: core
Version: unspecified
Hardware: PC
Operating System: Mac OS
Importance: P3 normal
Assigned to: Robert Oostenveld
URL:
Tags:
Depends on:
Blocks:
See also:

Robert Oostenveld - 2013-06-23 13:41:34 +0200

there are quite some functions that use strmatch and "strmatch(..., exact) these calls should be replaced by strcmp and strncmp. mbp> grep -l strmatch.*exact *.m */*.m ft_multiplotER.m ft_multiplotTFR.m ft_rejectartifact.m ft_singleplotER.m ft_singleplotTFR.m ft_volumelookup.m fileio/ft_chantype.m fileio/ft_filetype.m forward/ft_prepare_vol_sens.m private/atlas_mask.m private/fourier2crsspctrm.m private/moviefunction.m private/topoplot_common.m qsub/qsublisten.m test/test_bug1786.m trialfun/ft_trialfun_general.m utilities/ft_checkdata.m


Robert Oostenveld - 2013-06-23 13:51:24 +0200

I have changed most occurrences in https://github.com/oostenveld/fieldtrip/tree/bug2209-strmatch


Robert Oostenveld - 2013-06-28 12:40:38 +0200

I merged the changes related to bug 1114, 2209, 1961 and 1792 into the svn repository


Robert Oostenveld - 2013-06-28 12:41:11 +0200

(In reply to comment #2) see http://code.google.com/p/fieldtrip/source/detail?r=8285


Robert Oostenveld - 2013-09-18 13:19:14 +0200

closed multiple bugs that have been resolved