Also improve on e42cf2e5 for the compatbilitity with MATLAB < R2016a in occbin.write_regimes_to_xls.m. (manually cherry picked from commit 4346903c)