polyspace.DefectsOptions Class
Namespace: polyspace
Create custom list of defects to check
Description
Create a custom list of defects to check in a Polyspace® analysis.
Note
Before you run Polyspace from MATLAB®, you must link your Polyspace and MATLAB installations. See Integrate Polyspace with MATLAB and Simulink or Integrate Polyspace Server Products with MATLAB.
Construction
creates the
defect options object defectsList
= polyspace.DefectsOptionsdefectsList
. You can customize the list of
active defects by changing the properties.
Properties
An object is created with supported defects as properties. The defects are listed by their command-line name. See Short Names of Bug Finder Defect Groups and Defect Checkers.
By default, all defects are turned off. To turn on a defect, set the defect to true. For example:
defectsList = polyspace.DefectsOptions; defectsList.FLOAT_ZERO_DIV = true;
Copy Semantics
Value. To learn how value classes affect copy operations, see Copying Objects.
Examples
Version History
Introduced in R2016b