How to click tune button in PID block through script

1 view (last 30 days)
How to click tune button in PID block through script. I've looked for all available attributes of PID block through get(gcbh) command. But didn't get any help.

Accepted Answer

Arkadiy Turevskiy
Arkadiy Turevskiy on 17 Jul 2014
Just answered a similar question, please look at the bottom of this answer .
  2 Comments
Chaitanya Kulkarni
Chaitanya Kulkarni on 22 Jul 2014
Thanks for your response, but in my case PIDtune & PIdautotuning tool o/p are not matching. i read your answer of sys=-sys & using pidf, but i've PI only. & there is no option of 'pif' as such. so what can be done?
Arkadiy Turevskiy
Arkadiy Turevskiy on 22 Jul 2014
For PI controller simply use pi instead of pidf in the argument.Not sure what you mean o/p is not matching. If you want help, you need to invest some time in explaining the issue precisely.

Sign in to comment.

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!