필터 지우기
필터 지우기

Change gain while running the simulation

조회 수: 1 (최근 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 CenterFile Exchange에서 Simulink Functions에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by