필터 지우기
필터 지우기

how to change parameters of PID tuner GUI from command line?

조회 수: 3 (최근 30일)
E A
E A 2015년 1월 3일
편집: Arkadiy Turevskiy 2015년 1월 5일
"pidtool" is the GUI for PID tuning. I have many plants and want to write a script which will open this pidtool, change its window parameters and then save the designed PID controllers.
How is the access to the parameters of its window?

채택된 답변

Arkadiy Turevskiy
Arkadiy Turevskiy 2015년 1월 5일
편집: Arkadiy Turevskiy 2015년 1월 5일
PID Tuner app (pidtool) was never intended to be used like you describe.
If you want to process multiple plant models in a batch mode, use the function pidtune, which is the command-line equivalent of PID Tuner app. The function lets you specify plant model, and the values of tuning knobs (bandwidth and phase margin). You can call this function in a for-loop or you can call it on an array of plant models so it returns an array of PID controllers.
Take a look at this video , the first three minites show how to get a set of linear plant models from a nonlinear Simulink models, but after that the video shows how to design PID controllers with pidtune in a batch mode.

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by