Main Content

Simulink.SubsystemReference.removeSignatures

Remove previously generated unit test signatures of subsystem file

Since R2023a

Description

example

Simulink.SubsystemReference.removeSignatures(name) removes all of the previously generated unit test signatures from the subsystem file name.

Simulink.SubsystemReference.removeSignatures(name,testHarness) removes the signature of the unit test testHarness from the subsystem file name.

example

Simulink.SubsystemReference.removeSignatures(name,{testHarness1,...,testHarnessN}) removes the signatures of the unit tests testHarness1,...,testHarnessN from the subsystem file name.

Examples

collapse all

Remove the signatures of all the unit tests from the subsystem file.

Simulink.SubsystemReference.removeSignatures('slexReusableSS')

Remove the signatures of the specified unit tests from the subsystem file.

Simulink.SubsystemReference.removeSignatures('slexReusableSS',...
                                      {'ssref1_double','ssref1_int32'})

Input Arguments

collapse all

Name of the subsystem file, specified as a string or character vector. You can also specify the handle of the subsystem file.

Example: 'slexReusableSS'

Data Types: char | string

Name of the unit test, specified as a string or character vector.

Example: 'ssref1_double'

Data Types: char | string

Names of the unit tests, specified as a cell array.

Example: {'ssref1_double','ssref1_int32'}

Data Types: cell

Version History

Introduced in R2023a