Simple Use of Strings
1 view (last 30 days)
Show older comments
I am simply trying to get through a Tutorial online and am having a problem running a simple string. It is returning the error:Undefined function 'string' for input arguments of type 'char'.
I am typing: >> a = string('Hi how are you') Undefined function 'string' for input arguments of type 'char'.
This is my first time using MatLab. Do I have to engage this feature to use it? I am pretty sure I have it typed in correctly.
Accepted Answer
More Answers (0)
See Also
Categories
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!