How can input data be loaded automatically from Matlab workspace into simulink?

I have got one m-file from which I run several input files and start a simulation in simulink. The data is saved in a mat-file and initialized manually in simulink. Until now, when I change a paramater in matlab I need to reload the data in simulink, which is very annoying. How can this be done automatically?
Thanks in advance, Michael

Categories

Asked:

on 31 Oct 2016

Answered:

on 31 Oct 2016

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!