Rslice can be retrieve here.
The requirements for rslice are
Matlab R14 or higher.
Mexcdf/Mexnc can be found at Source Forge. You should retrieve the mexnc and SNCTOOLS modules, as well as the appropriate mex-file. SNCTOOLS can be setup to work with java as well.