Error in Opening of the MATLAB SIMULINK MODEL

3 次查看(过去 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 个)

类别

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