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.

 采纳的回答

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.

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Simulink Design Optimization 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by