Why i can't request user sting input?
Ältere Kommentare anzeigen
n = input('Enter the number of students');
for i=1:1:n
name(i) = input('What is your name? :','s');
end
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Import, Export, and Conversion finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!