How to error check a string for numbers?
Ältere Kommentare anzeigen
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 Kommentare
madhan ravi
am 15 Okt. 2018
What should be the error check ,an example?
PJ
am 15 Okt. 2018
Antworten (1)
Kategorien
Mehr zu Characters and Strings finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!