The selected library block no longer exists? How can i fix this?
조회 수: 35 (최근 30일)
이전 댓글 표시
Whenever I try to move one of the library block to the blank page of simulink. Matlab gives me the following warning:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/163904/image.png)
It also says: "Warning: Cannot find an exact case-sensitive match for the model or library name 'simulink'. Using the closest case-insensitive match: 'Simulink' at 'C:\Users\Dell\Documents\MATLAB\Simulink.slx'. Case-insensitive matching will be removed in a future release. Specify exact case instead."
Can someone help me out with this? Thank you!
Sincerely, a desperate student
댓글 수: 3
Bodyl Overvelde
2017년 1월 26일
편집: Bodyl Overvelde
2017년 1월 26일
i have the same problem with every block, and restarting did not help
Steven Lord
2017년 1월 26일
Did you try checking if you had something shadowing the built-in function simulink?
which -all simulink
That command should list only files inside subdirectories of the toolbox\simulink directory under matlabroot. If it lists other files, rename those other files then restart MATLAB and try again.
채택된 답변
Steven Lord
2016년 5월 10일
Try renaming the file C:\Users\Dell\Documents\MATLAB\Simulink.slx to something other than Simulink.slx, like mySimulinkModel.slx. There may be a conflict between the simulink function in MATLAB and the name of your model that's confusing Simulink® when you try to add a block to the model.
추가 답변 (3개)
Ushik Mewalal
2017년 12월 5일
The solution by Steven Lord worked for me.
This issue occurred on 2017b, though I still used 2016b without a problem.
As Steven said, changing the "Simulink" file name to something else, then restarting the program worked for me.
댓글 수: 0
Daniel Haro
2019년 11월 27일
The problem I had was that I named my file as Simulink.slx, so that created a conflict. I just renamed my file taking in consideration not to call it with names associated with Matlab´s files.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Interactive Model Editing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!