I’ve written a reasonably generic function to read in the information from a TEMPO-style par file in Matlab. This can be found here. The function works in both Matlab and Octave. An older version of the functions (which uses the Matlab textscan
function) that doesn’t work in Octave can be found here.