ドキュメンテーション
最新のリリースでは、このページがまだ翻訳されていません。 このページの最新版は英語でご覧になれます。
クラス プロパティ名
properties(ClassName)
properties(obj)
p = properties(___)
例
properties(ClassName) は、継承されたプロパティを含む MATLAB® クラスの表示可能なパブリック プロパティの名前を表示します。
ClassName
properties(obj) は、オブジェクトまたはオブジェクト配列のパブリック プロパティの名前を表示します。obj がスカラーの場合、properties は動的プロパティも返します。obj が配列の場合、properties は配列のクラスのプロパティを返します。
obj
properties
p = properties(___) は、文字ベクトルの cell 配列のプロパティ名を返します。
p
すべて折りたたむ
クラス名を使用してクラスのプロパティをリストします。
properties memmapfile
Properties for class memmapfile: Filename Writable Offset Format Repeat Data
MException オブジェクトのパブリック プロパティをリストします。
me = MException('Msg:ID','MsgText'); p = properties(me)
p = 5x1 cell array {'identifier'} {'message' } {'cause' } {'stack' } {'Correction'}
クエリするプロパティのクラス名。文字ベクトルまたは string スカラーとして指定します。
データ型: char | string
char
string
クエリするプロパティのクラスのオブジェクト。オブジェクトまたはオブジェクトの配列として指定します。
プロパティ名。文字ベクトルの cell 配列として返されます。
プロパティは、その GetAccess 属性値が public でその Hidden 属性値が false (これらの属性の既定値) の場合にパブリックになります。属性の完全な一覧は、プロパティの属性を参照してください。
GetAccess
public
Hidden
false
properties という語は、MATLAB のクラス定義キーワードでもあります。クラス定義キーワードの詳細については、classdef を参照してください。
classdef
この関数は分散配列を完全にサポートしています。詳細については、分散配列を使用した MATLAB 関数の実行 (Parallel Computing Toolbox)を参照してください。
events | fieldnames | methods
events
fieldnames
methods
A modified version of this example exists on your system. Do you want to open this version instead? (ja_JP)
MATLAB のコマンドを実行するリンクがクリックされました。
このリンクは、Web ブラウザーでは動作しません。MATLAB コマンド ウィンドウに以下を入力すると、このコマンドを実行できます。
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office