MATLAB Answers

Error while trying to tune a PID controller

153 views (last 30 days)
Wasem QassabBashi
Wasem QassabBashi on 28 Jun 2020
Answered: Konrad Baldyga on 12 Jan 2021 at 15:12
Hi, i am trying to tune a PID controller but i keep getting this error in simulink i am quite new to this software does anyone know how to solve this issue?
Error evaluating 'MaskDialog' callback of PID 1dof block (mask) 'Sim/PID Controller'. Callback string is 'pidpack.PIDConfig.callbackTuneButton(gcbh)'
Dot indexing is not supported for variables of this type


Shawn Stewart
Shawn Stewart on 10 Sep 2020
You need the Control Design Toolbox installed as well so I hope it isn't too late and this is helpful!

Sign in to comment.

Accepted Answer

Konrad Baldyga
Konrad Baldyga on 12 Jan 2021 at 15:12
For everyone with the same problem I just figured you need to have installed Control System Toolbox AND Simulink Control Design. After I installed the second one everything works perfectly.
Good luck guys,


Sign in to comment.

More Answers (1)


Community Treasure Hunt

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

Start Hunting!