MATLAB: Prompt user for a text string inputvariable This keeps coming up as an error, what am I doing wrong? prompt= 'State your name, Your Grace '; name=input(prompt); Best Answer I think you wantname=input(prompt,'s');to specify a string. Related SolutionsMATLAB: Input prompt for i=1:30g=input(['enter ' int2str(i) ' th line']);end MATLAB: How to use user input data in the code name = input(prompt,'s');load([name '.txt']) Related QuestionHow to store string values from a for loop into a cell arrayHow to input name from the user using loop and simple input functionsHow to check user input data using lettersRadio button prompt
Best Answer