This function is a backward compatibility wrapper for existing MATLAB scripts
 that call a function that is not part of the FieldTrip toolbox any more.

 Please update your code to make it future-proof.