rthosts_obj.save
save is a method of the simwb.rthosts object. This method will save the contents of the simwb.rthosts collection to a MAT file in the simwbprefs folder in simwbroot.