Why does help contain invalid commands?
1 view (last 30 days)
Show older comments
mark wilson
on 19 Dec 2018
Answered: Walter Roberson
on 19 Dec 2018
For example,
help text
contains "Execute GET(T), where T is a text object, to see a list of text object properties and their current values."
T=text(1,1,'test');
GET(T);
This will get you, "Undefined function or variable 'GET'.
Did you mean:
>> get(T)
0 Comments
Accepted Answer
Walter Roberson
on 19 Dec 2018
historical . There was a time when commands were not case sensitive and uppercase was used in the documentation to set command names apart from regular text. Really the documentation should be changed though as you are right that it is incorrect now .
0 Comments
More Answers (0)
See Also
Categories
Find more on Text Data Preparation in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!