How to error check a string for numbers?
Afficher commentaires plus anciens
So I have an input
name = input('Please enter your name:\n', 's');
How can I error check so that a user cannot enter any numbers for it?
2 commentaires
madhan ravi
le 15 Oct 2018
What should be the error check ,an example?
PJ
le 15 Oct 2018
Réponses (1)
Catégories
En savoir plus sur Characters and Strings 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!