coder.descriptor.BreakpointDataInterface类
包:coder.descriptor
超类:coder.descriptor.DataInterface
描述
的coder.descriptor.BreakpointDataInterface
对象描述了断点设置的各种属性数据的这些查找表块可调参数生成的代码:
一维查找表
二维查找表
一天的查找表
插值使用Prelookup
直接查找表(一天)
正弦
余弦
创建
创建一个参数个数
= getDataInterfaces (codeDescObj
,dataInterfaceName
)coder.descriptor.BreakpointDataInterface
对象查找表的每个维度。的codeDescObj
对象是coder.codedescriptor.CodeDescriptor
通过使用对象创建模型getCodeDescriptor
函数。
的coder.descriptor.LookupTableDataInterface
和coder.descriptor.BreakpointDataInterface
如果这些条件是真的创建对象:
查找表的数据是可调的。
其中一个条件是正确的:
断点集数据是可调的。
nontunable断点设置数据块不使用
金宝appSimulink.LookupTable
对象。块使用
金宝appSimulink.LookupTable
对象。
输入参数
dataInterfaceName
- - - - - -数据接口的名称
参数
指定参数
数据接口类型。
例子:参数
属性
类型
- - - - - -类型的数据
coder.descriptor.types
对象
等与数据相关联的数据类型整数
,双
,矩阵
和它的属性。
属性:
GetAccess |
公共
|
SetAccess |
公共
|
SID
- - - - - -金宝app®标识符
特征向量
动态仿真金宝app模块标识符(SID)是一个独特的数字模型中的模型分配一块。
属性:
GetAccess |
公共
|
SetAccess |
公共
|
GraphicalName
- - - - - -断点可调参数的名称
特征向量
相关的可调参数的名称的断点。
属性:
GetAccess |
公共
|
SetAccess |
公共
|
VariantInfo
- - - - - -变异的条件模型
coder.descriptor.VariantInfo
对象
条件变体模型与数据交互接口。
属性:
GetAccess |
公共
|
SetAccess |
公共
|
实现
- - - - - -实现数据的描述
coder.descriptor.DataImplementation
对象
描述数据在生成的代码是如何实现的。这个属性描述数据类型和大小等特征。它还描述了如何访问数据或代码中声明。属性描述如果数据声明为成员变量或结构。
属性:
GetAccess |
公共
|
SetAccess |
公共
|
时机
- - - - - -在运行时环境中数据访问速度
coder.descriptor.TimingInterface
对象
访问数据的速率在一个运行时环境。
属性:
GetAccess |
公共
|
SetAccess |
公共
|
单位
- - - - - -物理单元属性的信号
特征向量
物理单位指定为属性在信号模型组件的边界。
属性:
GetAccess |
公共
|
SetAccess |
公共
|
范围
- - - - - -范围的输出值
coder.descriptor.Range
对象
的范围块输出信号的有效值。
属性:
GetAccess |
公共
|
SetAccess |
公共
|
OperatingPoint
- - - - - -输入值的查找表相对于每个断点
coder.descriptor.DataInterface
对象
找到表中的输入值,操作使用相对断点设置数据点。
属性:
GetAccess |
公共
|
SetAccess |
公共
|
金宝appSupportTunableSize
- - - - - -选项来生成代码,使表大小的可调谐性
1
(默认)|0
选项来生成代码,使可调谐性的有效尺寸表,指定为0
或1
。
属性:
GetAccess |
公共
|
SetAccess |
公共
|
数据类型:逻辑
FixAxisMetadata
- - - - - -断点集数据的描述
coder.descriptor.FixAxisMetadata
断点集的描述数据等间距的或non-evenly间隔的。的coder.descriptor.FixAxisMetadata
创建对象只有在查找表的数据是可调,断点集数据不是可调。
属性:
GetAccess |
公共
|
SetAccess |
公共
|
方法
公共方法
isBreakpointDataInterface |
确定对象是一个coder.descriptor.BreakpointDataInterface 对象 |
例子
获得断点数据集的信息
这个示例展示了如何检索断点数据集信息。
建立一个模型
开放和建立一个模型,该模型包含查找表块。
open_system (“ASAP2Demo”);rtwbuild (“ASAP2Demo”);
# # #开始串行代码生成建立模型参考。# # #成功更新了模型参考代码生成目标:ASAP2DemoModelRef # # #开始构建过程:ASAP2Demo # # #成功完成构建过程:ASAP2Demo构建代码生成目标构建:总结模型重建行动的原因= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = ASAP2DemoModelRef代码生成和编译。ASAP2DemoModelRef。c并不存在。高级模型目标构建:模型重建行动的原因= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = ASAP2Demo代码生成和编译。代码生成信息文件不存在。2的2模型建立(0模型已经更新)构建持续时间:0 h 0米32.148秒
返回查找表的属性参数
创建一个描述符为模型对象代码。
codeDescObj = coder.getCodeDescriptor (“ASAP2Demo”);
返回查找表的属性参数。
params = getDataInterfaces (codeDescObj,“参数”);
的参数个数
变量的数组coder.descriptor.DataInterface
和coder.descriptor.LookupTableDataInterface
对象。该模型ASAP2Demo
包含三个查找表块。只有两个可调断点集数据。代码生成器创建相应只有两个coder.descriptor.LookupTableDataInterface
对象。
获得的细节Standard_Axis块通过访问数组中的第六的位置。
参数(6)
ans = LookupTableDataInterface属性:类型:[1 x1 coder.descriptor.types.Type]席德:“ASAP2Demo: 12”GraphicalName:“tabledata”VariantInfo: [1 x0 coder.descriptor.VariantInfo]实现:[1 x1 coder.descriptor.DataImplementation]时间:[1 x0 coder.descriptor.TimingInterface]单元:rpm的范围:[1 x1 coder.descriptor.Range] SupportTunableSize: 0 BreakpointSpecification:显式金宝app值的输出:[1 x1 coder.descriptor.DataInterface]断点:[1 x2 coder.descriptor.BreakpointDataInterface序列)
的断点属性coder.descriptor.LookupTableDataInterface
持有一个向量的对象coder.descriptor.BreakpointDataInterface
对象。获得附加断点设置的细节模型的查找表块通过访问第一个数组中的位置。
参数(6).Breakpoints (1)
ans = BreakpointDataInterface属性:类型:[1 x1 coder.descriptor.types.Type]席德:“ASAP2Demo: 12”GraphicalName:“tabledata”VariantInfo: [1 x0 coder.descriptor.VariantInfo]实现:[1 x1 coder.descriptor.DataImplementation]时间:[1 x0 coder.descriptor.TimingInterface]单位:“范围:[1 x0 coder.descriptor.Range] OperatingPoint: [1 x1 coder.descriptor.DataInterface] SupportTunableSize: 0 FixAxisMetadata: [1 x0 co金宝appder.descriptor.FixAxisMetadata]
版本历史
介绍了R2020a
MATLAB命令
你点击一个链接对应MATLAB命令:
运行该命令通过输入MATLAB命令窗口。Web浏览器不支持MATLAB命令。金宝app
你也可以从下面的列表中选择一个网站:
表现最好的网站怎么走吗
选择中国网站(中文或英文)最佳站点的性能。其他MathWorks国家网站不优化的访问你的位置。