PID controller tuning app not working

6 vues (au cours des 30 derniers jours)
EE_student
EE_student le 8 Avr 2021
Réponse apportée : nick le 5 Jan 2024
Hi all,
I am working on simulink on a block diagram of a car model. I set up the transfer function in a closed loop and added a PID controller. However, the 'tune' function is not working. I get the error in the screenshot attached. I have searched for this online but cannot get any response. Have a look at my simulink file.

Réponses (1)

nick
nick le 5 Jan 2024
Hello EE_student,
I understand from your query that you need assistance with resolving the error in using the “tune” function in the “PID Controller” block.
To use the PID tuning tool, you require the “Simulink Control Design” license. Use “ver slcontrol to check if “Simulink Control Design” is installed. If "Simulink Control Design" does not appear in the list returned by the above command, you will need to add the toolbox to your MATLAB installation. You can find instructions on how to do this in the following post: 
Kindly check if you have the license for the toolbox by running the following command in MATLAB command window:
flag=license('checkout','Simulink_Control_Design')
license('inuse')
If the answer to the above flag is zero, i.e., flag = 0, it means that the license checkout for the "Simulink Control Design" toolbox has failed. In this case, please contact the Installation Support team for further assistance:
I have tried running the model on my system and it works fine. Here is the obtained output:
Hope this helps,
Regards,
Neelanshu

Produits


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by