Change gain while running the simulation

2 ビュー (過去 30 日間)
Antonio
Antonio 2014 年 10 月 23 日
回答済み: Rick Rosson 2014 年 10 月 23 日
Hi everyone,
I would like to perform some calculations during the simulation in a Matlab Function with Simulink. It will be neccessary to update the gain with a matrix, calculated in this Matlab Function. This way I want to create an adaptive control.
Is it possible to update the gain from a function inside the model? I haven't found a solution yet. :(

回答 (1 件)

Rick Rosson
Rick Rosson 2014 年 10 月 23 日
Replace the gain block with a product block.

カテゴリ

Help Center および File ExchangeCreate Large-Scale Model Components についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by