need help error checking my string input.
Mostra commenti meno recenti
i need to error check this code
SkaDan = 'what are you looking for today? skating or dance\n';
Ans = input(SkaDan,'s');
i need it to move on if it spelled correct but if its not then i need it to spit out the message "ERROR, what are you looking for today? skating or dance"
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Just for fun in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!