Back to the main page.

Bug 125 - bug related to renaming of rt_* files

Reported 2010-07-29 12:44:00 +0200
Modified 2011-01-05 12:01:09 +0100
Product: FieldTrip
Component: realtime
Version: unspecified
Hardware: PC
Operating System: Linux
Importance: P1 normal
Assigned to: Robert Oostenveld
Depends on:
See also:

Avgis Hadjipapas - 2010-07-29 12:44:56 +0200

Tried to use rt_fileproxy and got error, which is as follows:\ ??? Undefined function or method 'ft_realtimert_fileproxy' for input arguments of type 'struct'. Error in ==> rt_fileproxy at 17 [varargout{1:nargout}] = funhandle(varargin{:}); Seems that the compatibility wrapper for this function(/home/common/matlab/fieldtrip/compat/rt_fileproxy.m) renames the file by appending an 'ft_realtime' at beginning of filename. However, the function in the realtime directory is called realtime_fileproxy (and not 'ft_realtimert_fileproxy'), i.e. 'rt' needs to be replaced by 'realtime' and then things should work Cheers Avgis

Robert Oostenveld - 2010-08-16 09:40:23 +0200

There are no functions in the release (or home/common) version any more with the name rt_xxx, except for the fieldtrip/compat wrappers (see below). However, the prepending of "ft_realtime" fails for the functions that were previously called rt_xxx, causing this problem. The easy solution is to avoid using the rt_xxx wrappers. However, I have fixed the bug in the wrappers by stripping the rt prefix prior to adding the new ft_realtime prefix. The corrected version is in SVN revision 1510. ---- roboos@mentat001> pwd /home/common/matlab/fieldtrip/realtime roboos@mentat001> find . -name \*.m ./buffer/matlab/buffer.m ./buffer/matlab/compile.m ./examples/ft_realtime_onlineprocess.m ./examples/app_neurofeedback.m ./bcifun/bcifun_frqclf.m ./bcifun/bcifun_latidx.m ./bcifun/bcifun_timer.m ./datasource/ft_realtime_brainampproxy.m ./datasource/ft_realtime_asaproxy.m ./datasource/ft_realtime_neuralynxproxy.m ./datasource/ft_realtime_ctfproxy.m ./datasource/ft_realtime_fileproxy.m ./datasource/ft_realtime_fmriproxy.m ./datasource/private/encode_nifti1.m ./datasource/ft_realtime_pooraudioproxy.m ./datasource/ft_realtime_signalproxy.m ./ft_realtime_classification.m ./ft_realtime_average.m ./ft_realtime_benchmark.m ./ft_realtime_headlocalizer.m ./ft_realtime_downsample.m ./ft_realtime_fmriviewer.m ./utilities/tcpread.m ./utilities/fastpower.m ./utilities/fasttransformplanar.m ./utilities/megplanar_sincos.m ./utilities/offset2time.m ./ft_realtime_heartratemonitor.m ./ft_realtime_packettimer.m ./ft_realtime_powerestimate.m ./ft_realtime_process.m ./ft_realtime_selectiveaverage.m ./ft_realtime_signalviewer.m ./ft_realtime_topography.m

Robert Oostenveld - 2011-01-05 11:57:04 +0100

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

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

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