Why does help contain invalid commands?

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)

 採用された回答

Walter Roberson
Walter Roberson 2018 年 12 月 19 日

0 投票

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 件)

カテゴリ

ヘルプ センター および File ExchangeCharacters and Strings についてさらに検索

製品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by