[FieldTrip] error using ft_databrowser (bug)

Schoffelen, J.M. (Jan Mathijs) jan.schoffelen at donders.ru.nl
Fri Jun 19 14:24:34 CEST 2015

Hi Mats and Robin,

You seem to be running into the same problem as Robin just reported before you. Both error messages point to ft_select_range, which is in fieldtrip/plotting. ft_select_range calls ft_platform_supports (which is a very fresh addition to FieldTrip), which is located in fieldtrip/plotting/private. Now, ft_platform_supports wants to call matlabversion and it cannot find it at this location. Looking into fieldtrip/plotting/private, I see that indeed it is missing there. I will fix this.


On Jun 19, 2015, at 12:44 PM, Es, M.W.J. van (Mats) <M.vanEs at donders.ru.nl<mailto:M.vanEs at donders.ru.nl>> wrote:

Hi fieldtrippers,

I know this is not the conventional way to report a bug, but it seems I am not able to create a bugzilla account at this moment. Since today I get an error using ft_databrowser (data is normal MEG data, preprocessed):

cfg = [];
cfg.channel     = 'MEG';
cfg.viewmode = 'vertical';
cfg = ft_databrowser(cfg, data);

I get the following error many (50+) times:

Undefined function 'matlabversion' for input arguments of type 'char'.

Error in ft_platform_supports (line 58)
    tf=is_matlab() && matlabversion('2014b', Inf);

Error in ft_select_range (line 81)
if ft_platform_supports('graphics_objects')

Error using waitfor
Error while evaluating figure WindowButtonMotionFcn

I am using matlab2013a on Linux, and I also tried matlab2012a, both show the error.

fieldtrip mailing list
fieldtrip at donders.ru.nl<mailto:fieldtrip at donders.ru.nl>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20150619/8cdfba65/attachment-0002.html>

More information about the fieldtrip mailing list