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.

 採用された回答

Kaustubha Govind
Kaustubha Govind 2011 年 6 月 29 日

0 投票

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 ExchangeSimulink Design Optimization についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by