Main Content

slreportgen.utils.isMaskedSystem

Check if system is masked subsystem block

Description

example

tf = isMaskedSystem(system) tests whether the input system is masked.

Examples

Check If System Is Masked

Run the following command to access the supporting files used in this example.

openExample('rptgenext/SimulinkReportGeneratorFilesExample');
load_system('slrgex_sf_car')
tf = slreportgen.utils.isMaskedSystem('slrgex_sf_car/Vehicle')
tf =

  logical

   1

In this case, the slrgex_sf_car model is masked.

Input Arguments

collapse all

System to check for masking, specified as a string or character array of the Simulink® path or handle.

Output Arguments

collapse all

Whether input is a masked system, returned as 1 (true) if the input system is masked. Otherwise, it returns 0 (false).

Version History

Introduced in R2018b

See Also