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 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