I installed an academic licanse of MATLAB R2016b and Simulink on my new computer a couple of days ago and started working on a simulink project and everything was going fine. However when I opened the simulink model today the toolbar was missing. See figure.
I have tried rebooting matlab and my system (windows 10 64-bit) which did not help, as well as googling the issue, but have not found any conclusive answers. If anyone knows how to fix this problem it would be much appriciated.
Best Regards
Viktor

4 commentaires

Jorge Davila
Jorge Davila le 31 Mar 2017
im having the same problem
mahmoud elzabet
mahmoud elzabet le 7 Oct 2017
and me
yo tambien con el mismo problema....
Gul Rukh Khan
Gul Rukh Khan le 9 Juin 2021
Thanks, my problem resolved with with :-
>> restoredefaultpath
>> rehash toolboxcache
above two commands shared by Ankit Bhatnagar.
thanks

Connectez-vous pour commenter.

 Réponse acceptée

Ankit Bhatnagar
Ankit Bhatnagar le 10 Fév 2017

27 votes

Follow these steps:
1. Refresh the file system caches using the following commands:
>> restoredefaultpath
>> rehash toolboxcache
2. Run the following command to rebuild Simulink and Library menus and toolbars:
>> sl_refresh_customizations
3. Close all the instance of MATLAB and then restart.

11 commentaires

Dariusz Wozniak
Dariusz Wozniak le 6 Mar 2017
Great answer!
oren fivel
oren fivel le 12 Avr 2017
this solution did not work for me
Tanay Rastogi
Tanay Rastogi le 18 Mai 2017
That it works for me as well. I am using MATLAB 2016b - academic version
Thanks a lot, It worked for me. this is an academic version
Engenuity
Engenuity le 15 Nov 2017
worked, thanks
Maria  Campoverde
Maria Campoverde le 29 Mai 2018
Muchas gracias... si me funcionó \((^_^))/
Luna
Luna le 7 Jan 2019
I got the same problem, I only run sl_refresh_customizations.
Thanks very much! It worked!
AISWARYA LAKSHMI
AISWARYA LAKSHMI le 13 Nov 2019
Worked out!! Thanks a lot!!!
Tangyin Liao
Tangyin Liao le 9 Déc 2019
thanks very much!
EBRIMA KANTEH
EBRIMA KANTEH le 24 Mar 2020
thanks a lot
Anirudh
Anirudh le 24 Avr 2020
I have the MATLAB 2016a version and having same problem. I have cecked the command and got the following error:
Error using Simulink.scopes.ViewerLibraryCache>loc_initializeUserLibraries (line 145)
File 'C:\Program Files\MATLAB\R2016a\toolbox\comm\comm\commviewers2.slx' does not contain a valid Simulink model in SLX
format: Could not open destination package
Error in Simulink.scopes.ViewerLibraryCache/loadCustomLibraries (line 93)
loc_initializeUserLibraries( self, cm );
Error in slCustomizer/refresh
Error in slCustomizer.staticRefresh
Error in sl_refresh_customizations (line 18)
slCustomizer.staticRefresh();
Pls help in this regards

Connectez-vous pour commenter.

Plus de réponses (3)

Yunfeng Lin
Yunfeng Lin le 6 Déc 2018

3 votes

Double check which button are you choosing. Blank model with the Run button, blank library have no that button.

1 commentaire

kudsiya  firdous
kudsiya firdous le 8 Jan 2020
Hello I am using MATLAB 2013. My problem is that, when I am opening my scope block for changing no. Of port in scope block. There is no tool box for doing this. What should I do? If anyone knows please suggest me.

Connectez-vous pour commenter.

Alex Joshy
Alex Joshy le 15 Juin 2017

0 votes

activate again using license or whatever. then restart.
Kutay Gönen
Kutay Gönen le 30 Nov 2021

0 votes

That doesn't work for me in 2019b. Fixed only for a little amount of time. Are there any permanent solutions?

Catégories

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by