I have a Simulink plant model with a PID controller that needs tuning when I change certain parameters. I have found that using the interactive autotuning (transfer-function based) available when double clicking on the PID block has given suitable results.
Is there a way to export the plant model to the matlab workspace, run the PID autotuner and update the Kp, Ki, Kd and filter coefficient values in the block using a .m code file or function?
Thanks in advance!

답변 (1개)

Arkadiy Turevskiy
Arkadiy Turevskiy 2024년 1월 12일
편집: Arkadiy Turevskiy 2024년 1월 12일

0 개 추천

Answered here

제품

릴리스

R2018b

질문:

2021년 1월 13일

편집:

2024년 1월 12일

Community Treasure Hunt

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

Start Hunting!

Translated by