Simulink library browser shows "No blocks"

I can see all of the libraries, but no blocks.
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 comentarios

Kaustubha Govind
Kaustubha Govind el 25 de Mayo de 2011
What do you see when you type "which -all slblocks"?
Kevin
Kevin el 26 de Mayo de 2011
/gncdata/matlab/r2010b/toolbox/psp/tools/ARINC653/slblocks.m
/gncdata/matlab/r2010b/toolbox/simulink/blocks/slblocks.m % Shadowed
/gncdata/matlab/r2010b/toolbox/stateflow/stateflow/slblocks.m % Shadowed
/gncdata/matlab/r2010b/toolbox/rtw/rtw/slblocks.m % Shadowed
/gncdata/matlab/r2010b/toolbox/slvnv/reqmgt/slblocks.m % Shadowed
/gncdata/matlab/r2010b/toolbox/ident/ident/slblocks.m % Shadowed
/gncdata/matlab/r2010b/toolbox/dspblks/dspblks/slblocks.m % Shadowed
/gncdata/matlab/r2010b/toolbox/sldv/sldv/slblocks.m % Shadowed
/gncdata/matlab/r2010b/toolbox/simulink/blocks/sb2sl/slblocks.p % Shadowed
/gncdata/matlab/r2010b/toolbox/sldo/sldo/slblocks.m % Shadowed
/gncdata/matlab/r2010b/toolbox/physmod/simscape/simscape/m/slblocks.m % Shadowed
/gncdata/matlab/r2010b/toolbox/imaq/imaqblks/imaqblks/slblocks.m % Shadowed
/gncdata/matlab/r2010b/toolbox/robust/robust/slblocks.m % Shadowed
/gncdata/matlab/r2010b/toolbox/mpc/mpc/slblocks.m % Shadowed
/gncdata/matlab/r2010b/toolbox/control/control/slblocks.m % Shadowed
/gncdata/matlab/r2010b/toolbox/physmod/ne_sli/ne_sli/slblocks.m % Shadowed
/gncdata/matlab/r2010b/toolbox/physmod/powersys/powersys/slblocks.m % Shadowed
/gncdata/matlab/r2010b/toolbox/simrf/simrf/slblocks.m % Shadowed
/gncdata/matlab/r2010b/toolbox/instrument/instrumentblks/instrumentblks/slblocks.m % Shadowed
/gncdata/matlab/r2010b/toolbox/vipblks/vipblks/slblocks.m % Shadowed
/gncdata/matlab/r2010b/toolbox/aeroblks/aeroblks/slblocks.m % Shadowed
/gncdata/matlab/r2010b/toolbox/commblks/commblks/slblocks.m % Shadowed
/gncdata/matlab/r2010b/toolbox/physmod/mech/mech/slblocks.m % Shadowed
/gncdata/matlab/r2010b/toolbox/fuzzy/fuzzy/slblocks.m % Shadowed
/gncdata/matlab/r2010b/toolbox/slcontrol/slctrlutil/slblocks.m % Shadowed
/gncdata/matlab/r2010b/toolbox/rtw/targets/ecoder/slblocks.m % Shadowed
/gncdata/matlab/r2010b/toolbox/edalink/edalink/slblocks.m % Shadowed
/gncdata/matlab/r2010b/toolbox/rptgenext/rptgenext/slblocks.m % Shadowed
/gncdata/matlab/r2010b/toolbox/sl3d/sl3d/slblocks.m % Shadowed
/gncdata/matlab/r2010b/toolbox/nnet/nnet/slblocks.m % Shadowed

Iniciar sesión para comentar.

 Respuesta aceptada

Rob Graessle
Rob Graessle el 26 de Mayo de 2011

0 votos

This may be related to bug report 673978.

1 comentario

Kevin
Kevin el 27 de Mayo de 2011
Good find. I am unable to write in this directory, and don't have permissions to change/move/delete it either. Unfortunately, I will also have to wait for an admin-type to come in to modify it for me. We are using 2010b as well, so this is likely the issue.

Iniciar sesión para comentar.

Más respuestas (1)

Seth Popinchalk
Seth Popinchalk el 26 de Mayo de 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.

4 comentarios

Kevin
Kevin el 26 de Mayo de 2011
The libraries are physically located on a shared drive, and no other users have this issue.
Kevin
Kevin el 26 de Mayo de 2011
I should also add that the same share is used on multiple linux boxes, and I see the problem no matter which linux box I am logged into. My $HOME directory is also shared, so it is possible something within my profile could be affecting things - I just don't know what it might be.
Kaustubha Govind
Kaustubha Govind el 26 de Mayo de 2011
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.
Kevin
Kevin el 27 de Mayo de 2011
Yes, I tried this, as well as renaming/moving the entire .matlab folder as well. Thanks.

Iniciar sesión para comentar.

Categorías

Más información sobre Startup and Shutdown en Centro de ayuda y File Exchange.

Productos

Etiquetas

Preguntada:

el 25 de Mayo de 2011

Community Treasure Hunt

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

Start Hunting!

Translated by