Menu bar missing in Simulink

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 Comments

im having the same problem
yo tambien con el mismo problema....
Thanks, my problem resolved with with :-
>> restoredefaultpath
>> rehash toolboxcache
above two commands shared by Ankit Bhatnagar.
thanks

Sign in to comment.

 Accepted Answer

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 Comments

Great answer!
this solution did not work for me
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
worked, thanks
Muchas gracias... si me funcionó \((^_^))/
I got the same problem, I only run sl_refresh_customizations.
Thanks very much! It worked!
Worked out!! Thanks a lot!!!
thanks very much!
thanks a lot
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

Sign in to comment.

More Answers (3)

Yunfeng Lin
Yunfeng Lin on 6 Dec 2018
Double check which button are you choosing. Blank model with the Run button, blank library have no that button.

1 Comment

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.

Sign in to comment.

Alex Joshy
Alex Joshy on 15 Jun 2017
activate again using license or whatever. then restart.
Kutay Gönen
Kutay Gönen on 30 Nov 2021
That doesn't work for me in 2019b. Fixed only for a little amount of time. Are there any permanent solutions?

Categories

Products

Community Treasure Hunt

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

Start Hunting!