User`s guide

3 Signals and Parameters
3-48
Parameters =
3 Change the gain. For example, to change the Gain1 block, type either
tg.setparam(5,800) or setparam(tg,5,800)
As soon as you change parameters, the changed parameters in the target
object are downloaded to the target application. The target PC displays the
following message:
ans =
parIndexVec: 5
OldValues: 100
NewValues: 800
If there is a scope, the plot frame then updates the signals after running the
simulation with the new parameters.
INDEX VALUE TYPE SIZE PARAMETER NAME BLOCK NAME
0 0 DOUBLE Scalar Initial Condition Integrator1
1 4 DOUBLE Scalar Amplitude Signal
Generator
2 20 DOUBLE Scalar Frequency Signal
Generator
3 1000000 DOUBLE Scalar Gain Gain
4 0 DOUBLE Scalar Initial Condition Integrator
5 400 DOUBLE Scalar Gain Gain1
6 1000000 DOUBLE Scalar Gain Gain2