Menu bar missing in Simulink

152 次查看(过去 30 天)
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 个评论
Gul Rukh Khan
Gul Rukh Khan 2021-6-9
Thanks, my problem resolved with with :-
>> restoredefaultpath
>> rehash toolboxcache
above two commands shared by Ankit Bhatnagar.
thanks

请先登录,再进行评论。

采纳的回答

Ankit Bhatnagar
Ankit Bhatnagar 2017-2-10
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 个评论
Anirudh
Anirudh 2020-4-24
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

请先登录,再进行评论。

更多回答(3 个)

Yunfeng Lin
Yunfeng Lin 2018-12-6
Double check which button are you choosing. Blank model with the Run button, blank library have no that button.
  1 个评论
kudsiya  firdous
kudsiya firdous 2020-1-8
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.

请先登录,再进行评论。


Alex Joshy
Alex Joshy 2017-6-15
activate again using license or whatever. then restart.

Kutay Gönen
Kutay Gönen 2021-11-30
That doesn't work for me in 2019b. Fixed only for a little amount of time. Are there any permanent solutions?

类别

Help CenterFile Exchange 中查找有关 Modeling 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by