Simulink library browser shows "No blocks"

5 ビュー (過去 30 日間)
Kevin
Kevin 2011 年 5 月 25 日
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 件のコメント
Kaustubha Govind
Kaustubha Govind 2011 年 5 月 25 日
What do you see when you type "which -all slblocks"?
Kevin
Kevin 2011 年 5 月 26 日
/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

サインインしてコメントする。

採用された回答

Rob Graessle
Rob Graessle 2011 年 5 月 26 日
This may be related to bug report 673978.
  1 件のコメント
Kevin
Kevin 2011 年 5 月 27 日
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.

サインインしてコメントする。

その他の回答 (1 件)

Seth Popinchalk
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
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.
Kevin
Kevin 2011 年 5 月 27 日
Yes, I tried this, as well as renaming/moving the entire .matlab folder as well. Thanks.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeFile Operations についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by