代码元数据
使用代码描述符 API 查看有关生成代码的元数据
使用代码描述符 API 查看有关生成代码的元数据。代码描述符 API 描述生成的代码中的数据接口、函数接口、参数和全局数据存储。
类
coder.codedescriptor.CodeDescriptor | 返回有关生成代码的信息 |
coder.descriptor.DataInterface | Return information about different types of data interfaces |
coder.descriptor.FunctionInterface | Return information about entry-point functions |
coder.descriptor.LookupTableDataInterface | Return information about Lookup Table blocks that have tunable parameters |
coder.descriptor.BreakpointDataInterface | Return information about tunable breakpoint set data for a lookup table that has tunable parameters |
函数
getCodeDescriptor | Create coder.codedescriptor.CodeDescriptor object for
model |
主题
- Get Code Description of Generated Code
Obtain metadata about the generated code.
- Get Generated Type and Name of Inport Structures
Obtain metadata about the inport structures in generated code.