target.Function クラス
パッケージ: target
説明
target.Data
から機能を継承する target.Function
クラスを使用して、関数シグネチャの情報を提供します。
target.Function
オブジェクトの作成には関数 target.create
を使用します。
プロパティ
ReturnType
— 返されるデータ型
文字ベクトル | string
関連付けられている関数が返す値のデータ型。
属性:
GetAccess | public |
SetAccess | public |
Name
— 関数名
文字ベクトル | string
関数の名前。
属性:
GetAccess | public |
SetAccess | public |
例
関数シグネチャの作成
target.Function
クラスを使用して、タイマーの関数シグネチャを作成します。
データ型 uint64
と関数名 timestamp_x86
を返す関数のシグネチャを作成します。
timerSignature = target.create('Function'); timerSignature.Name = 'timestamp_x86'; timerSignature.ReturnType = 'uint64';
バージョン履歴
R2020b で導入
MATLAB コマンド
次の MATLAB コマンドに対応するリンクがクリックされました。
コマンドを MATLAB コマンド ウィンドウに入力して実行してください。Web ブラウザーは MATLAB コマンドをサポートしていません。
Select a Web Site
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:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)