Clear Filters
Clear Filters

Error in Opening of the MATLAB SIMULINK MODEL

4 views (last 30 days)
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();
>>

Answers (0)

Categories

Find more on Simulink Functions in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!