signalBuilderToSignalEditor
Import signal data and properties from Signal Builder block to Signal Editor block
Syntax
Description
imports signal data and properties from Signal Builder block to the
Signal Editor block. This function adds a Signal
Editor or Subsystem block to the current model using the
signal data and properties from the Signal Builder block. If the
original Signal Builder has a virtual bus output port, the function
adds a Subsystem block with a virtual output port.signal_editor_or_subsystem
= signalBuilderToSignalEditor(signal_builder
,Name,Value
)
To contain the signal data and properties, the function creates a new MAT-file.
During the port, the signalBuilderToSignalEditor
function:
Unicode® group names are prefixed with
Test_Case_
.Group names are converted to valid MATLAB® variable names with leading and trailing white spaces removed.
Group names are converted with trailing underscores removed.
Remaining numbers maintained in the scenario name.
Orders signal groups alphabetically.
Creates unique group names from existing names following MATLAB conventions.
Optionally renames the resulting Signal Editor block to
Signal Editor
.
The signalBuilderToSignalEditor
function does not
support
Models that contain test case parameters. You can successfully port data from the Signal Builder block, but you cannot initialize parameters with the Signal Editor block in test harnesses generated by Simulink® Design Verifier™.
Models that contain Signal Builder signal generators created from the Create and Connect Generator context menu.
[
outputs vectors containing the signal groups and group names.signal_editor_or_subsystem
,sorted_group_index
,sorted_group_names
,signal_editor_if_virtual_bus
] = signalBuilderToSignalEditor(signal_builder
,Name,Value
)