필터 지우기
필터 지우기

Setting the Description and DetailedDescription attributes of MATLAB classes

조회 수: 3 (최근 30일)
Built-in MATLAB classes have values for a Description and DetailedDescription attribute:
>> ?handle
ans =
meta.class handle
Package: meta
Properties:
Name: 'handle'
Description: 'Base class for handle classes'
DetailedDescription: ''
[snip]
Similarly, some methods and properties of built-in classes have the same attributes:
>> a = ?containers.Map;
>> a.PropertyList(1)
ans =
meta.property handle
Package: meta
Properties:
Name: 'Count'
Description: 'Number of pairs in the collection'
DetailedDescription: ''
[snip]
How can I set these attributes for my classes/methods/properties?

답변 (1개)

Rowland
Rowland 2012년 12월 11일
It looks like the Description and DetailedDescription properties are not being used yet.
  댓글 수: 1
Sam Roberts
Sam Roberts 2012년 12월 12일
Well, yes I know the documentation says that - except they are being used, as shown in the examples above. You may be right, in that there may be no way currently for a user to set them, but MATLAB itself is setting them somehow. I'm wondering whether it's possible for a user to do that, even in an undocumented way.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Historical Contests에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by