Changed dsave back to save because not all saved variables were Composite type, so output .mat file was incorrect