Matlab functions for SBtab format