padv.builtin.task.DetectDesignErrors Class
Namespace: padv.builtin.task
Superclasses: padv.Task
Task for detecting design errors with Simulink Design Verifier
Description
The padv.builtin.task.DetectDesignErrors class provides a task that can
detect design errors in your models by using Simulink®
Design Verifier™. Design error detection can identify dead logic, integer overflow, division by
zero, and violations of design properties and assertions. By default, the
DetectDesignErrors task outputs a design error detection report and data
file.
You can add the task to your process model by using the
method addTask. After you add the task to your process model, you can run the
task from the Process Advisor app or by using the function
runprocess.
To view the source code for this built-in task, in the MATLAB® Command Window, enter:
open padv.builtin.task.DetectDesignErrorsThe padv.builtin.task.DetectDesignErrors class is a handle class.
Creation
Description
creates a task for detecting design errors with Simulink
Design Verifier.task = padv.builtin.task.DetectDesignErrors()
sets certain properties using one or more name-value arguments. For example, task = padv.builtin.task.DetectDesignErrors(PropertyName=Value)task
= padv.builtin.task.DetectDesignErrors(Name = "MyDetectDesignErrors") creates
a task with the specified name.
You can use this syntax to set property values for InputQueries,
Name, IterationQuery,
InputDependencyQuery, Licenses,
LaunchToolAction, and LaunchToolText.
The padv.builtin.task.DetectDesignErrors class also has other properties, but you cannot set
those properties during task creation.
Properties
Methods
Examples
Limitations
You can only load .mat files from the
I/O column of a task iteration. If you try to load a
.mat file from the I/O column for the overall task,
you get a Key not found error.