Menu bar missing in Simulink

147 views (last 30 days)
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
Hernaldo Andres Herrera Vidal
yo tambien con el mismo problema....
Gul Rukh Khan
Gul Rukh Khan on 9 Jun 2021
Thanks, my problem resolved with with :-
>> restoredefaultpath
>> rehash toolboxcache
above two commands shared by Ankit Bhatnagar.
thanks

Sign in to comment.

Accepted Answer

Ankit Bhatnagar
Ankit Bhatnagar on 10 Feb 2017
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
Anirudh
Anirudh on 24 Apr 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

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
kudsiya  firdous
kudsiya firdous on 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.

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

Find more on Modeling in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!