Why do I get an error regarding Simulink Control Design when I try to open PID Tuner for PID Controller?
134 views (last 30 days)
Show older comments
MathWorks Support Team
on 10 May 2021
Answered: MathWorks Support Team
on 10 May 2021
On clicking the "Tune" button inside the PID Controller block dialog, I receive the following error message:
Error evaluating 'MaskDialog' callback of PID 1dof block
(mask) '.../.../PID Controller'. Callback string is
'pidpack.PIDConfig.callbackTuneButton(gcbh)'
'.../.../PID Controller' requested use of the PID tuning
tool. Use of the PID tuning tool requires a Simulink
Control Design license, but license checkout failed.
Accepted Answer
MathWorks Support Team
on 10 May 2021
Using PID Tuner App to tune a PID Controller or PID Controller (2DOF) block in a Simulink model requires that you have "Simulink Control Design" toolbox installed and licensed for.
(1) Enter the following command at the MATLAB Command Window to see a list of all installed toolboxes:
>> ver
If "Simulink Control Design" does not appear in the list returned by the above command, add the toolbox to your MATLAB installation as explained in the following post:
(2) Now, enter the following command at the MATLAB Command Window:
>> license checkout Simulink_Control_Design
If the answer to the above is zero, i.e. ans=0, it means that the license checkout for "Simulink Control Design" toolbox has failed. Please contact your local MATLAB license administrator, or contact our Installation Support team:
0 Comments
More Answers (0)
See Also
Categories
Find more on PID Controller Tuning in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!