How can I change variables in the Simulink Model Workspace during simulation? So for example, I have a signal that is given from a subblock to the output. I want to store this signal continuously in a variable (a 1x1 double for example, no timeseries or so). I want to use the results as variable input e.g. for the frequency of a sine block (therefore the method with goto does not work here).