Problem with updating model parameters dynamically..

  1. Hi I used s-function builder for an optimization block and it generates three outputs .These 3 outputs i need to connect back to the system sothat it can be updated dynamically..since no port options are available for these parameters( eg: Hysteresis band value say,HB in a hyst.controller), i cant update them. please suggest a solution for the same.. Thank you.

 Respuesta aceptada

Kaustubha Govind
Kaustubha Govind el 29 de Jun. de 2011

0 votos

You can use work vectors to store previous value(s) of the outputs and use that to update the next value (you don't need to physically connect the outputs back to the system). Please see Using Work Vectors for more information.

Más respuestas (0)

Categorías

Más información sobre Simulink Design Optimization en Centro de ayuda y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by