polyspace.CodeProverResults
从 MATLAB 读取 Polyspace Code Prover 结果
说明
使用此对象将 Polyspace® Code Prover™ 分析结果读取到 MATLAB® 表中。您可以获取结果的高级概览或详细信息(例如运行时检查的每个实例)。
注意
在从 MATLAB 中运行 Polyspace 之前,必须将已安装的 Polyspace 与 MATLAB 相关联。请参阅将 Polyspace 与 MATLAB 和 Simulink 集成。
创建对象
语法
描述
resObj = polyspace.CodeProverResults(
创建一个对象,用于将一组特定的 Code Prover 结果读取到 MATLAB 表中。使用对象方法读取结果。resultsFolder
)
proj = polyspace.Project; resObj = proj.Results;
创建一个具有 Results
属性的 polyspace.Project
对象。如果运行 Code Prover 分析,此属性是一个 polyspace.CodeProverResults
对象。
输入参量
对象函数
getSummary | View number of Polyspace results organized by results type (Bug Finder) or color and file (Code Prover) |
getResults | View all instances of Bug Finder or Code Prover results |
variableAccess | View C/C++ global variables along with read/write operations |
示例
版本历史记录
在 R2017a 中推出