"It is possible to access the source code of the function 'interp1,"
I doubt it, and even if you could get a copy it would be covered by your license, which restricts what you can do with it.
Note that the GNU Octave interp1 is a simple Mfile which you can read, copy, and edit.