PID controller tuning app not working
조회 수: 5 (최근 30일)
이전 댓글 표시
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.
댓글 수: 0
답변 (1개)
nick
2024년 1월 5일
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
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!