Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.
|
|
|
|
A question about Simulink
Posted:
Jun 17, 1996 12:23 PM
|
|
Dear Mathworks
I am using Simulink to simulate the behaviour of a control system. I would like to change a parameter of the system during the simulation using the output at the previous time e.g.,
A( t ) = A( t-1 ) + k * y( t-1),
Where A is the parameter of the controller, and y is the plant output:
___________ _____________ e | | | | ---->| f(A, e) |------>| Plant |----> y | | | | | ------------- ------------ | | _____________ | A | | | <-----| Changing A |<-| | | ------------
After each time step, the parameter A should be changed and used for the next time step .
Could anybody please let me know how I can make a block in Simulink to perform this job.
Best Regards Ali
|
|
|
|