Having a string call another string
Hello everyone,
I’m new to matlab and learning it right now.
I was wondering how I would make a string that would prompt the user for an input statement and would output the statment exactly as shown (Your string was: ‘hi there’).
Enter your string: hi there
Your string was: ‘hi there’
Here is what I have so far and i’ve tried multiple different ways and cant seem to figure out how to call it back.
txt = input(‘Enter your string: ‘,"s");Hello everyone,
I’m new to matlab and learning it right now.
I was wondering how I would make a string that would prompt the user for an input statement and would output the statment exactly as shown (Your string was: ‘hi there’).
Enter your string: hi there
Your string was: ‘hi there’
Here is what I have so far and i’ve tried multiple different ways and cant seem to figure out how to call it back.
txt = input(‘Enter your string: ‘,"s"); Hello everyone,
I’m new to matlab and learning it right now.
I was wondering how I would make a string that would prompt the user for an input statement and would output the statment exactly as shown (Your string was: ‘hi there’).
Enter your string: hi there
Your string was: ‘hi there’
Here is what I have so far and i’ve tried multiple different ways and cant seem to figure out how to call it back.
txt = input(‘Enter your string: ‘,"s"); string MATLAB Answers — New Questions