Simulink library browser shows "No blocks"
5 次查看(过去 30 天)
显示 更早的评论
I can see all of the libraries, but no blocks.
I found the following posts, but they don't have a solution: http://www.mathworks.com/matlabcentral/answers/2981-all-blocks-missing-from-simulink-library-browser
I have tried: restoredefaultpath rehash toolboxcache rehash toolboxreset
I know others have seen this at our site, but no one knows what actually fixes this. Perhaps a reboot. I have tried logging out, but rebooting is not possible at the moment.
Thanks,
-Kevin
2 个评论
采纳的回答
更多回答(1 个)
Seth Popinchalk
2011-5-26
This could be the result of a corruption of the library browser repositories. These can be regenerated by deleting or renaming the library browser information stored in the preferences directory.
Rename the following directories:
disp([prefdir '\sl_library_browser_repos'])
disp([prefdir '\sl_library_browser_favorite'])
Rename the following file:
disp([prefdir '\sl_library_browser_lockfile'])
for example, I renamed sl_library_browser_repos to old_sl_library_browser_repos.
4 个评论
Kaustubha Govind
2011-5-26
Kevin: Have you tried Seth's suggestion? The MATLAB preference directory (prefdir) should be related to your user account, even if the MATLAB installation is shared, so that might very likely be the issue.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 File Operations 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!