So how do you make MAtlab into a responding program?
7 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Rainaire Hansford
am 15 Sep. 2013
Kommentiert: Rainaire Hansford
am 30 Sep. 2013
I Want to make a program that can respond back to you with words. I found one way but its annoying. I need to put (' ') Around the words I type and the it response but I just want to type the words and it give off a correct responses. Any good examples to make this work?
0 Kommentare
Akzeptierte Antwort
Walter Roberson
am 15 Sep. 2013
Use input with the 's' option to request the responses
din = input('What did you have for dinner?', 's');
7 Kommentare
Weitere Antworten (1)
Siehe auch
Kategorien
Mehr zu Live Scripts and Functions finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!