def save(self, path):
    mat4py.savemat(os.path.join(path, 'states', 'states_evol.mat'), {'states': self.final_stats['states']})
    mat4py.savemat(os.path.join(path, 'states', 'actions_evol.mat'), {'actions': self.final_stats['actions']})
    mat4py.savemat(os.path.join(path, 'states', 'outputs_evol.mat'), {'disturbance': self.final_stats['disturbance']})
def save(self, path):
    mat4py.savemat(os.path.join(path, 'states', 'states_evol.mat'), {'states': self.final_stats['states']})
    mat4py.savemat(os.path.join(path, 'states', 'actions_evol.mat'), {'actions': self.final_stats['actions']})
    mat4py.savemat(os.path.join(path, 'states', 'outputs_evol.mat'), {'disturbance': self.final_stats['disturbance']})