メインコンテンツ

clearAllTasks

R2026b

Disable all tasks in workflow

Description

clearAllTasks(hWC) disables all workflow tasks in the hdlcoder.WorkflowConfig object, hWC.

If you do not want to disable each task individually, use this function. For example, to run a single task, run clearAllTasks, then enable the task that you want to run.

example

Examples

Disable All Workflow Tasks

Create a workflow configuration object and disable all tasks. Then enable only the task you want to run.

hWC = hdlcoder.WorkflowConfig(SynthesisTool="Xilinx Vivado",TargetWorkflow="Generic ASIC/FPGA");
clearAllTasks(hWC);
hWC.RunTaskGenerateRTLCodeAndTestbench = true;

Input Arguments

collapse all

HDL code generation and deployment workflow configuration, specified as an hdlcoder.WorkflowConfig object.

Version History

Introduced in R2015b