Back to the main page.

Bug 1354 - uint64 object is not needed any more on matlab 2011b

Reported 2012-03-01 21:43:00 +0100
Modified 2013-04-23 12:06:31 +0200
Product: FieldTrip
Component: fileio
Version: unspecified
Hardware: Macintosh
Operating System: Mac OS
Importance: P3 minor
Assigned to: Robert Oostenveld
Depends on:
See also:

Robert Oostenveld - 2012-03-01 21:43:20 +0100

Having the fieldtrip/fileio/@uint64 object on the path causes the following error >> audiorecorder(44100, 16, 2) Error using audiorecorder/initialize (line 241) Invalid type of input arguments (should be uint64) Error in audiorecorder (line 193) obj.initialize(); whereas after "restoredefaultpath" this is not a problem. Note that this was detected while trying out the ft_realtime_pooraudioproxy function. It turns out that the uint64 overloaded functions are not needed any more for this matlab version >> which -all plus built-in (/Applications/ % single method built-in (/Applications/ % double method built-in (/Applications/ % char method built-in (/Applications/ % logical method built-in (/Applications/ % int64 method built-in (/Applications/ % int32 method built-in (/Applications/ % int16 method built-in (/Applications/ % int8 method built-in (/Applications/ % uint64 method built-in (/Applications/ % uint32 method built-in (/Applications/ % uint16 method built-in (/Applications/ % uint8 method Probably the same applies to the other functions (minus, min, max, ...) somehow we should find a trick such that the fieldtrip @uint64 object is added to the path when needed (old matlab versions) but not on newer versions. TODO: - check whether all functions are now in standard matlab - check matlab versions to see how far back it should go - think of something with ft_defaults to "addpath" it conditionally on the matlab version

Robert Oostenveld - 2013-01-23 16:09:42 +0100

with the uint64 object everything still works fine on later matlab versions, so there is nothing that really should be fixed. If people prefer to use the built-in version, they can delete the fileio/@uint64 directory.

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

closed various bugs

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

closed various bugs