'PID Controller' in library 'simulink_need_slupdate', error while trying to run old Simulink Code
이전 댓글 표시
Hi,
I'm trying to run an old Simulink code and I'm getting the error:
Failed to find 'PID Controller' in library 'simulink_need_slupdate' referenced by '.../PID Controller1'.
I checked the library 'simulink_need_slupdate' on several different versions of MATLAB and could not find the PID controller in there.
My idea is to replace all of these blocks with a PID controller, and see if the code runs, the only problem is that I don't know the gains which were used in the old blocks, and I'm not sure if this will actually fix the code and there are several (~50) PID controllers to be replaced.
In the Simulink code itself the blocks show up as bad links, because the 'Source Link' shows up as 'simulink_need_slupdate/PID Controller'.
Any advice? Should I just replace all the PID's and try to recalculate the gains, or is there another easier path? Thanks for any help!
JR
댓글 수: 2
Kaustubha Govind
2011년 6월 23일
What version of MATLAB are you using? I do see a PID Controller block in simulink_need_slupdate on R2011a.
Typically, you can open up the model as text and look for the Block record corresponding to the unresolved PID Controller to see the values of the parameters.
John Robinson
2011년 6월 27일
채택된 답변
추가 답변 (1개)
Abhishek Dhiman
2020년 12월 11일
0 개 추천
I am using matlab 2015a but in simulink library there is no pid
카테고리
도움말 센터 및 File Exchange에서 PID Controller Tuning에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!