Error in Opening of the MATLAB SIMULINK MODEL
    2 次查看(过去 30 天)
  
       显示 更早的评论
    
I have tried many times to open my MATLAB SIMULINK model in 2016a version. The Simulink window opeing does not have toolbar at the top:

I tried few of the commands whose results were shown below. May Please help me out from this problem
>> restoredefaultpath
Warning: Duplicate directory name: C:\Program Files\MATLAB\R2016a\toolbox\stateflow\stateflow 
> In restoredefaultpath (line 52) 
>> pthtool
Undefined function or variable 'pthtool'.
Did you mean:
>> pathtool
>> restoredefaultpath
Warning: Duplicate directory name: C:\Program Files\MATLAB\R2016a\toolbox\stateflow\stateflow 
> In restoredefaultpath (line 52) 
>> pathtool
>> pathtool
>> restoredefaultpath
Warning: Duplicate directory name: C:\Program Files\MATLAB\R2016a\toolbox\stateflow\stateflow 
> In restoredefaultpath (line 52) 
>> rehash toolboxcache
>> sl_refresh_customizations
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();
>> RESTOREDEFAULTPATH
Cannot find an exact (case-sensitive) match for 'RESTOREDEFAULTPATH'
The closest match is: restoredefaultpath in C:\Program Files\MATLAB\R2016a\toolbox\local\restoredefaultpath.m
Did you mean:
>> restoredefaultpath
Warning: Duplicate directory name: C:\Program Files\MATLAB\R2016a\toolbox\stateflow\stateflow 
> In restoredefaultpath (line 52) 
>> pathtool
>> savepth
Undefined function or variable 'savepth'.
Did you mean:
>> savepath
>> sl_refresh_customizations
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();
>> 
0 个评论
回答(0 个)
另请参阅
类别
				在 Help Center 和 File Exchange 中查找有关 Simulink Environment Customization 的更多信息
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
