https://es.mathworks.com/help/reinforcement-learning/ref/trainfromdata.html
trainFromData - Train off-policy reinforcement learning agent using existing data - MATLAB
This MATLAB function trains the off-policy agent agent offline, using data stored in its ExperienceBuffer property.
reinforcement learningtrainpolicy