Simulink library browser shows "No blocks"

5 views (last 30 days)
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 Comments
Kaustubha Govind
Kaustubha Govind on 25 May 2011
What do you see when you type "which -all slblocks"?
Kevin
Kevin on 26 May 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

Sign in to comment.

Accepted Answer

Rob Graessle
Rob Graessle on 26 May 2011
This may be related to bug report 673978.
  1 Comment
Kevin
Kevin on 27 May 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.

Sign in to comment.

More Answers (1)

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.
  4 Comments
Kaustubha Govind
Kaustubha Govind on 26 May 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 on 27 May 2011
Yes, I tried this, as well as renaming/moving the entire .matlab folder as well. Thanks.

Sign in to comment.

Categories

Find more on File Operations in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!