i want to input string consist of 5 char in array put i can't do that by using the command "input" because it is allow me to input only 1 char and when i input more than one error occur
Direct link to this comment:
Can you please include some example code that reproduces your problem? I'm not having any issues doing what you're describing, but it may be because I'm not understanding your problem. Some sample code is always helpful when asking a question here.
The exact error message that you're receiving is also of help.
No products are associated with this question.
Direct link to this answer:
What do you mean the INPUT function only lets you input one character?
>> G = input('Enter a string: ','s')
Enter a string: red
MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi test
Opportunities for recent engineering grads.
New to MATLAB?
Choose your country to get translated content where available and see local events and offers. Based on your location, we recommend you select United States from the following list:
See all countries