Back to the main page.

Bug 2124 - try/catch ME syntax

Status CLOSED FIXED
Reported 2013-04-18 20:28:00 +0200
Modified 2013-04-23 12:06:30 +0200
Product: FieldTrip
Component: preproc
Version: unspecified
Hardware: PC
Operating System: Linux
Importance: P3 normal
Assigned to: Robert Oostenveld
URL:
Tags:
Depends on:
Blocks:
See also:

Guillaume - 2013-04-18 20:28:38 +0200

Filtering functions: preproc/ft_preproc_bandpassfilter.m preproc/ft_preproc_bandstopfilter.m preproc/ft_preproc_highpassfilter.m preproc/ft_preproc_lowpassfilter.m make use of the try/catch ME syntax that was introduced in R2007b.


Robert Oostenveld - 2013-04-18 21:14:47 +0200

In principle I'd say that we don't support MATLAB versions older than 5 years. See http://fieldtrip.fcdonders.nl/code_guidelines#ensure_that_it_runs_on_older_matlab_versions However, this one is easy to avoid. See also bug 541. I will fix it. There might be other stuff however that won't work with 2007a (a.k.a. version 7.4) and older.


Robert Oostenveld - 2013-04-18 21:19:54 +0200

roboos@mentat001> svn commit Sending preproc/ft_preproc_bandpassfilter.m Sending preproc/ft_preproc_bandstopfilter.m Sending preproc/ft_preproc_highpassfilter.m Sending preproc/ft_preproc_lowpassfilter.m Transmitting file data .... Committed revision 8058.


Guillaume - 2013-04-18 21:22:18 +0200

(In reply to comment #1) Thanks. MATLAB R2007a might be a supported version for SPM12: http://en.wikibooks.org/wiki/SPM/MATLAB#MATLAB_Compatibility_with_SPM Are you aware of other incompatibilities of FT with this version of MATLAB?


Robert Oostenveld - 2013-04-18 22:03:50 +0200

(In reply to comment #3) nothing specifically. We have just been discussing yesterday that it would be good to try to compile a table with columns for OS versions (win/linux/osx times 32/64) and rows for matlab version (about 5 years into the past). For each cell in the table it would be nice to know which of the test scripts fail. This would have to be compiled once for a specific fieldtrip revision.


Robert Oostenveld - 2013-04-23 12:06:00 +0200

closed various bugs


Robert Oostenveld - 2013-04-23 12:06:30 +0200

closed various bugs