Prompt user for a text string

1.259 views (last 30 days)
Krish Desai
Krish Desai on 8 Nov 2015
Commented: Walter Roberson on 24 Jun 2021
This keeps coming up as an error, what am I doing wrong?
prompt= 'State your name, Your Grace ';

Accepted Answer

Chad Greene
Chad Greene on 8 Nov 2015
I think you want
to specify a string.
Joseph Armstrong
Joseph Armstrong on 11 Dec 2020
Thanks been trying to solve this 's' needed to be in thanks so much

Sign in to comment.

More Answers (1)

k khaja
k khaja on 7 Mar 2021
Can anyone please show me, after prompt the user input, how can I append the strings in same cell,
Thanks in advanvce.
Walter Roberson
Walter Roberson on 24 Jun 2021
I do not see how that code is a solution to any topic that was being discussed here?

Sign in to comment.


Find more on Characters and Strings in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by