How can I change a value of the Upper limit in the PI controller from the workspace?

1 回表示 (過去 30 日間)
Tania Izquierdo
Tania Izquierdo 2016 年 11 月 18 日
I have a PID controller inside a model. I want to change the value of the upper limit from the workspace instead of using the value from the data dictionary. I have created a block (To Workspace) called the same as the upper limit in the PI controller. I have connected this block to a constant value = 100. When I run the script, it always takes the value from the data dictionary instead of the block defined in the same model. How can I do it?

回答 (0 件)

カテゴリ

Help Center および File ExchangePID Controller Tuning についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by