Back to the main page.

Bug 98 - version tracking in high level ft-functions is backward compatible to pre matlab 6.5

Status CLOSED FIXED
Reported 2010-06-30 21:30:00 +0200
Modified 2011-01-05 12:01:03 +0100
Product: FieldTrip
Component: core
Version: unspecified
Hardware: PC
Operating System: Mac OS
Importance: P1 trivial
Assigned to: Robert Oostenveld
URL:
Tags:
Depends on:
Blocks:
See also:

Jan-Mathijs Schoffelen - 2010-06-30 21:30:43 +0200

does anybody ever use a version of matlab older than 6.5? If not, consider cleaning up the code and taking this out.


Robert Oostenveld - 2010-06-30 21:52:37 +0200

I don't have a pre 6.5 version. And fieldtrip quite heavily uses && and || in the code, which do not work with pre 7.0 versions anyway. So 6.5 and previous are not supported.


Robert Oostenveld - 2010-11-10 09:16:07 +0100

the following functions are affected grep dbstack *.m private/*.m besa2fieldtrip.m: [st, i] = dbstack; ft_appenddata.m: [st, i] = dbstack; ft_appendspike.m: [st, i] = dbstack; ft_artifact_clip.m: [st, i] = dbstack; ft_artifact_ecg.m: [st, i] = dbstack; ft_artifact_manual.m: [st, i] = dbstack; ft_artifact_threshold.m: [st, i] = dbstack; ft_artifact_zvalue.m: [st, i] = dbstack; ft_channelnormalise.m: [st, i] = dbstack; ft_channelrepair.m: [st, i] = dbstack; ft_combineplanar.m: [st, i] = dbstack; ft_componentanalysis.m: [st, i] = dbstack; ft_databrowser.m: [st, i] = dbstack; ft_definetrial.m: [st, i1] = dbstack; ft_denoise_synthetic.m: [st, i] = dbstack; ft_dipolefitting.m: [st, i] = dbstack; ft_dipolesimulation.m: [st, i] = dbstack; ft_electroderealign.m: [st, i] = dbstack; ft_freqanalysis.m: [st, i1] = dbstack; ft_freqanalysis_mtmconvol.m: [s, i] = dbstack; ft_freqanalysis_mtmconvol.m: [st, i1] = dbstack; ft_freqanalysis_mtmfft.m: [s, i] = dbstack; ft_freqanalysis_mtmfft.m: [st, i1] = dbstack; ft_freqanalysis_mtmwelch.m: [s, i] = dbstack; ft_freqanalysis_tfr.m: [s, i] = dbstack; ft_freqanalysis_tfr.m: [st, i] = dbstack; ft_freqanalysis_wltconvol.m: [s, i] = dbstack; ft_freqanalysis_wltconvol.m: [st, i1] = dbstack; ft_freqbaseline.m: [st, i] = dbstack; ft_freqdescriptives.m: [st, i] = dbstack; ft_freqgrandaverage.m: [st, i] = dbstack; ft_freqinterpolate.m: [st, i] = dbstack; ft_freqsimulation.m: [st, i] = dbstack; ft_freqstatistics.m: [st, i] = dbstack; ft_interactiverealign.m: [st, i] = dbstack; ft_lateralizedpotential.m: [st, i] = dbstack; ft_megplanar.m: [st, i] = dbstack; ft_megrealign.m: [st, i] = dbstack; ft_prepare_leadfield.m: [st, i] = dbstack; ft_preprocessing.m: [st, i] = dbstack; ft_redefinetrial.m: [st, i] = dbstack; ft_rejectartifact.m: [st, i] = dbstack; ft_rejectcomponent.m: [st, i] = dbstack; ft_rejectvisual.m: [st, i] = dbstack; ft_resampledata.m: [st, i] = dbstack; ft_scalpcurrentdensity.m: [st, i] = dbstack; ft_sourceanalysis.m: [st, i] = dbstack; ft_sourcedescriptives.m: [st, i] = dbstack; ft_sourcegrandaverage.m: [st, i] = dbstack; ft_sourceinterpolate.m: [st, i] = dbstack; ft_sourcestatistics.m: [st, i] = dbstack; ft_sourcestatistics.m: [st, i] = dbstack; ft_spikeanalysis.m: [st, i] = dbstack; ft_spikedetection.m: [st, i] = dbstack; ft_spikedownsample.m: [st, i] = dbstack; ft_spikesimulation.m: [st, i] = dbstack; ft_spikesorting.m: [st, i] = dbstack; ft_spikesplitting.m: [st, i] = dbstack; ft_spiketriggeredaverage.m: [st, i] = dbstack; ft_spiketriggeredinterpolation.m: [st, i] = dbstack; ft_spiketriggeredspectrum.m: [st, i] = dbstack; ft_timelockanalysis.m: [st, i] = dbstack; ft_timelockbaseline.m: [st, i] = dbstack; ft_timelockgrandaverage.m: [st, i] = dbstack; ft_timelockstatistics.m: [st, i] = dbstack; ft_volumedownsample.m: [st, i] = dbstack; ft_volumenormalise.m: [st, i] = dbstack; ft_volumerealign.m: [st, i] = dbstack; ft_volumereslice.m: [st, i] = dbstack; ft_volumesegment.m: [st, i] = dbstack; loreta2fieldtrip.m: [st, i] = dbstack; spass2fieldtrip.m: [st, i] = dbstack; private/constructplanargrad.m: [st, i] = dbstack; private/fourier2crsspctrm.m: [st, i1] = dbstack; private/prepare_design.m: [st, i] = dbstack; private/prepare_timefreq_data.m: [st, i] = dbstack; private/statistics_wrapper.m: [s, i] = dbstack;


Robert Oostenveld - 2010-11-10 10:20:35 +0100

this has been fixed in revision 2097


Robert Oostenveld - 2011-01-05 11:56:58 +0100

selected a long list of resolved bugs from roboos and changed the status into "RESOLVED"


Robert Oostenveld - 2011-01-05 12:01:03 +0100

selected all old bugs from roboos with status RESOLVED and changed it into CLOSED