Main Content

Signal Builder Block Time Range to Generate Multi Testbench

Enable generation of multiple variable-size testbenches

Since R2021a

Model Configuration Pane: PLC Code Generation

Description

The Use Signal Builder/Signal Editor block time range to generate multi-testbench parameter generates multiple testbenches of varying sizes. The generated testbench size depends on the time duration of the respective signal group in the Signal Editor block. This option is available on the PLC Code Generation pane in the Configuration Parameters dialog box. Select the Generate testbench for subsystem option.

Dependencies

To enable this parameter, select the Generate testbench for subsystem parameter.

Settings

off (default) | on
On

Generate multiple testbenches with testbench size dependent on time duration of respective signal group in the Signal Builder block..

Off

Generate multiple testbenches with testbench size dependent on model simulation time.

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionNo impact

Programmatic Use

Parameter: PLC_MultiTBSigbuilderTimeRange
Type: string
Value: 'on' | 'off'
Default: 'off'

Version History

Introduced in R2021a