Create save_regmodel.m

this is used to save regModel from matlab to txt files.