Fix Matlab 2012 compatibility

strsplit was only introduced in ML2013