In Add Parameter and Link Parameter we created a new formal parameter and afterwards we linked the actual parameter of a model instance to it. Instead of this we can do it in only one step by using the export mechanism.
We want to link parameter ScaleFactor of model instance MyAdderModule#1 to a newly created system parameter with the same name. Proceed as follows:
The next step is to export parameter Increment of model instance SawGen#1 as system parameter with a different name:
Last we want to link parameter Increment of model instance SawGen#2 to the newly created system parameter SawIncrement:
Now, you can run the simulation. Click on the Simulate button in the toolbar. You can use the default run settings seen in the Simulation Properties window (bottom left), or change the RunLength entry to increase or decrease the run time. Press the Go button to run the simulation.