how can i open message key catalog?
Afficher commentaires plus anciens
how can i open the message catalog in matlab? i am using the sptool.m file in toolbox/signal. in getstring(message('signal:sptprefhelp:Maker')) if i change 'Marker' to 'Markers' it warning:unable to find message key 'Markers' in catalog 'signal:sptprefhelp'. ...so where can i check or find the message keys?
Réponse acceptée
Plus de réponses (1)
Steven Lord
le 18 Déc 2017
0 votes
You shouldn't need to access or update the message catalog files.
What exactly did you expect / hope would happen by changing Marker to Markers in that call?
3 commentaires
Landers1
le 19 Déc 2017
Steven Lord
le 19 Déc 2017
You shouldn't need to. If you want to throw an error using an identifier (to allow users of your code to catch a particular error your code throws, for example) call error with two (or more) inputs as shown in the "Throw Error with Formatted Message" example in the documentation.
Landers1
le 19 Déc 2017
Catégories
En savoir plus sur MATLAB 快速入门 dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!