Hi Sule,
If running the simulation in the base workspace using the sim command or the run button, just load the .mat file into the base workspace. If running the simulation in a different way, please describe your workflow.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!