simulink library browser blocks gone

30 views (last 30 days)
Mark on 8 Mar 2011
simulink seems to have lost the link to the library browser blocks. The library names show up, but no blocks are in them. Any suggestions how to reset or fix this?

Answers (5)

Guy Rouleau
Guy Rouleau on 9 Mar 2011
There might be a user-written file on your path.
I would go for the classic:
rehash toolboxcache
rehash toolboxreset
If this does not help, execute:
which -all slblocks
It it returns a file outside of the MATLAB installation folder, try removing this file from the path.
same thing possible customization of the Simulink browser:
which -all sl_customization
and remove from the path anything which is not shipped with MATLAB.
ismael dias
ismael dias on 30 Mar 2015
Excelenteeeeee. Awesome

Sign in to comment.

Seth Popinchalk
Seth Popinchalk on 26 May 2011
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.

burak ergocmen
burak ergocmen on 23 Jan 2016
hi Seth Popinchalk When i type sp([prefdir '\sl_library_browser_lockfile']), there is not anyfile like that . everything i try but i cant fix that problem . , please if anybody can write detailed answer it really helps me. the same problem again and again. The problem is
"Error evaluating 'StopFcn' callback of block_diagram 'Single_Rotor_Example'.Library was not found"
i try everything icant solve

fa liu
fa liu on 12 Apr 2016
I once have this problem too,when I install simulink again, the library work correctly .

Gabriel Ovalle Giraldo
Gabriel Ovalle Giraldo on 23 Feb 2022
hola buenas tardes tengo un problema y es que cada ves que entro a la libreria y selecciono una de sus ramas se me cierra automaticamente el matlab


Find more on Interactive Model Editing in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by