Several changes to matlab have made the matlab scripts for CARFAC slightly out of date.
An example of this is the use of wavread and wavwrite which mathworks deprecated a couple years ago in favour of audioread and audiowrite. The example code is also slightly platform specific, but the changes to make it platform agnostic are minimal.