I get the error "Undefined function 'coder.coverage.CodeCoverageSettings' for input arguments of type 'char'." when i am trying to open a new simulink model?
Afficher commentaires plus anciens
MATLAB 2013a
I have tried removing the coder toolbox from the function path. That enabled me to open the Simulink library. I still cannot open a new simulink model.
Warnings also accompany the opening of the Simulink library:
Warning: simulink.mdl, line 931: Cannot find built-in block of type 'DiscreteFilter'. Ignoring default parameter settings for this block > In load_system at 21 In libbrowse2 at 21
Warning: simulink.mdl, line 966: Cannot find built-in block of type 'DiscreteFir'. Ignoring default parameter settings for this block > In load_system at 21 In libbrowse2 at 21
Warning: simulink.mdl, line 1035: Cannot find built-in block of type 'DiscreteTransferFcn'. Ignoring default parameter settings for this block > In load_system at 21 In libbrowse2 at 21
Warning: simulink.mdl, line 13269: Cannot find built-in block of type 'DiscreteTransferFcn'. Using an empty proxy block in its place. The model cannot be updated or simulated with such a proxy block > In load_system at 21 In libbrowse2 at 21
Warning: simulink.mdl, line 13649: Cannot find built-in block of type 'DiscreteFir'. Using an empty proxy block in its place. The model cannot be updated or simulated with such a proxy block > In load_system at 21 In libbrowse2 at 21
Warning: simulink.mdl, line 13656: Cannot find built-in block of type 'DiscreteFilter'. Using an empty proxy block in its place. The model cannot be updated or simulated with such a proxy block > In load_system at 21 In libbrowse2 at 21
Réponses (1)
Lars
le 12 Sep 2013
0 votes
Search the file "pathdef.m" and delete it manually.
I had the same problem and fixed it this way.
pathdef.m is not deletet even if you uninstall matlab. Therefore un/re-installing won't help.
Regards
Catégories
En savoir plus sur Event Functions dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!