フィルターのクリア

simulink library browser blocks gone

27 ビュー (過去 30 日間)
Mark
Mark 2011 年 3 月 8 日
回答済み: Gabriel Ovalle Giraldo 2022 年 2 月 23 日
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?

回答 (5 件)

Guy Rouleau
Guy Rouleau 2011 年 3 月 9 日
There might be a user-written file on your path.
I would go for the classic:
restoredefaultpath
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.
  2 件のコメント
Mark
Mark 2011 年 3 月 9 日
no joy. results from 'which -all' commands below. Right clicking and opening the libraries brings them up in a simulink window, but no blocks in the browser. This doesn't seem to affect older versions of Matlab.
>> which -all slblocks
/usr2/matlab/matlab2010b/toolbox/simulink/blocks/slblocks.m
/usr2/matlab/matlab2010b/toolbox/simulink/blocks/sb2sl/slblocks.p % Shadowed
/usr2/matlab/matlab2010b/toolbox/stateflow/stateflow/slblocks.m % Shadowed
/usr2/matlab/matlab2010b/toolbox/rtw/rtw/slblocks.m % Shadowed
/usr2/matlab/matlab2010b/toolbox/rtw/targets/ecoder/slblocks.m % Shadowed
/usr2/matlab/matlab2010b/toolbox/aeroblks/aeroblks/slblocks.m % Shadowed
/usr2/matlab/matlab2010b/toolbox/control/control/slblocks.m % Shadowed
/usr2/matlab/matlab2010b/toolbox/dspblks/dspblks/slblocks.m % Shadowed
/usr2/matlab/matlab2010b/toolbox/psp/tools/ARINC653/slblocks.m % Shadowed
/usr2/matlab/matlab2010b/toolbox/sl3d/sl3d/slblocks.m % Shadowed
/usr2/matlab/matlab2010b/toolbox/slcontrol/slctrlutil/slblocks.m % Shadowed
/usr2/matlab/matlab2010b/toolbox/sldv/sldv/slblocks.m % Shadowed
/usr2/matlab/matlab2010b/toolbox/slvnv/reqmgt/slblocks.m % Shadowed
>> which -all sl_customization
/usr2/matlab/matlab2010b/toolbox/shared/glue/studio/private/sl_customization.m % Private to studio
/usr2/matlab/matlab2010b/toolbox/simulink/simulink/sl_customization.p
/usr2/matlab/matlab2010b/toolbox/simulink/simulink/dataobjectwizard/sl_customization.p % Shadowed
/usr2/matlab/matlab2010b/toolbox/simulink/simulink/modeladvisor/sl_customization.p % Shadowed
/usr2/matlab/matlab2010b/toolbox/simulink/simulink/modeladvisor/fixpt/sl_customization.p % Shadowed
/usr2/matlab/matlab2010b/toolbox/rtw/rtw/misra/sl_customization.p % Shadowed
/usr2/matlab/matlab2010b/toolbox/fixpoint/fpca/sl_customization.p % Shadowed
/usr2/matlab/matlab2010b/toolbox/psp/tools/trick/sl_customization.m % Shadowed
/usr2/matlab/matlab2010b/toolbox/slcontrol/slctrlutil/sl_customization.p % Shadowed
/usr2/matlab/matlab2010b/toolbox/slvnv/do178b/sl_customization.p % Shadowed
/usr2/matlab/matlab2010b/toolbox/slvnv/iec61508/sl_customization.p % Shadowed
/usr2/matlab/matlab2010b/toolbox/slvnv/simcoverage/sl_customization.p % Shadowed
/usr2/matlab/matlab2010b/toolbox/slvnv/simcoverage/sl_customization.m % Shadowed
/usr2/matlab/matlab2010b/toolbox/slvnv/slvnv/sl_customization.p % Shadowed
/usr2/matlab/matlab2010b/toolbox/slvnv/slvnv/sl_customization.m % Shadowed
/usr2/matlab/matlab2010b/toolbox/slvnv/styleguide/sl_customization.p % Shadowed
/usr2/matlab/matlab2010b/toolbox/systemtest/systemtest/sl_customization.p % Shadowed
ismael dias
ismael dias 2015 年 3 月 30 日
Excelenteeeeee. Awesome

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


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.

burak ergocmen
burak ergocmen 2016 年 1 月 23 日
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 2016 年 4 月 12 日
I once have this problem too,when I install simulink again, the library work correctly .

Gabriel Ovalle Giraldo
Gabriel Ovalle Giraldo 2022 年 2 月 23 日
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

カテゴリ

Help Center および File ExchangeSimulink Environment Customization についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by