メインコンテンツ

このページの内容は最新ではありません。最新版の英語を参照するには、ここをクリックします。

生成されたコードのインターフェイス

C API インターフェイスとコード記述子インターフェイスを使用して、生成されたコードと外部アプリケーション コードの間でデータを交換する

一部のアプリケーションでは、生成されたコードと外部アプリケーション コード間でデータを交換する必要があります。MATLAB コード記述子 API を使用して、生成されたコードに関するメタデータを取得します。C API を使用して、実行時に生成されたコードとのインターフェイスとし、ターゲット プラットフォームでのモデル コードの実行中にモデル要素を監視および調整します。

クラス

すべて展開する

coder.codedescriptor.CodeDescriptor生成されたコードに関する情報を返す
coder.descriptor.DataInterfaceさまざまな種類のデータ インターフェイスに関する情報を返す
coder.descriptor.FunctionInterfaceエントリポイント関数に関する情報を返す
coder.descriptor.LookupTableDataInterface調整可能なパラメーターをもつ Lookup Table ブロックに関する情報を返す
coder.descriptor.BreakpointDataInterface調整可能なパラメーターをもつルックアップ テーブルの調整可能なブレークポイント セット データに関する情報を返す
coder.descriptor.SignalOfInterestReturn information about signals of interest in generated code (R2025a 以降)
coder.descriptor.DataImplementationReturn information about implementation of data in generated code (R2025a 以降)
coder.descriptor.TypedRegionReturn information about implementation of typed data in generated code (R2025a 以降)
coder.descriptor.types.AggregateReturn information about variable of aggregate type (R2024a 以降)
coder.descriptor.types.AggregateElementReturn information about element of aggregate type (R2024a 以降)
coder.descriptor.types.ArgumentReturn information about argument associated with function or method in generated code (R2024a 以降)
coder.descriptor.types.BoolReturn information about variable of Boolean type (R2024a 以降)
coder.descriptor.types.CharReturn information about variable of character type (R2024a 以降)
coder.descriptor.types.ComplexReturn information about variable of complex type (R2024a 以降)
coder.descriptor.types.DoubleReturn information about variable of double-precision type (R2024a 以降)
coder.descriptor.types.EnumReturn information about variable of enum type (R2024b 以降)
coder.descriptor.types.FixedReturn information about variable of fixed-point type (R2024a 以降)
coder.descriptor.types.HalfReturn information about variable of half-precision type (R2024a 以降)
coder.descriptor.types.IntegerReturn information about variable of integer type (R2024a 以降)
coder.descriptor.types.MatrixReturn information about variable of matrix type (R2024a 以降)
coder.descriptor.types.NumericReturn information about variable of numeric type (R2024a 以降)
coder.descriptor.types.PointerReturn information about variable of pointer type (R2024a 以降)
coder.descriptor.types.PrototypeReturn information about function prototype in generated code (R2024a 以降)
coder.descriptor.types.ReferenceReturn information about variable of reference type (R2024a 以降)
coder.descriptor.types.ScalarReturn information about variable of scalar type (R2024a 以降)
coder.descriptor.types.SingleReturn information about variable of single-precision type (R2024a 以降)
coder.descriptor.types.StructReturn information about variable of struct type (R2024a 以降)
coder.descriptor.types.TypeReturn information about data type of modeling element or corresponding variable in generated code (R2024a 以降)
coder.descriptor.types.UnionReturn information about variable of union type (R2024a 以降)
coder.descriptor.types.VoidRepresent base type of void pointer (R2024a 以降)

関数

すべて展開する

getCodeDescriptorモデルの coder.codedescriptor.CodeDescriptor オブジェクトを作成

トピック

C API インターフェイス

コード記述子インターフェイス