Simulink library browser shows "No blocks"

5 visualizzazioni (ultimi 30 giorni)
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 Commenti
Kaustubha Govind
Kaustubha Govind il 25 Mag 2011
What do you see when you type "which -all slblocks"?
Kevin
Kevin il 26 Mag 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

Accedi per commentare.

Risposta accettata

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

Accedi per commentare.

Più risposte (1)

Seth Popinchalk
Seth Popinchalk il 26 Mag 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 Commenti
Kaustubha Govind
Kaustubha Govind il 26 Mag 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 il 27 Mag 2011
Yes, I tried this, as well as renaming/moving the entire .matlab folder as well. Thanks.

Accedi per commentare.

Categorie

Scopri di più su File Operations in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by