Main Content

slreportgen.utils.isMaskedSystem

Check if system is masked subsystem block

Description

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

example

Examples

collapse all

load_system("sf_car")
tf = slreportgen.utils.isMaskedSystem("sf_car/Vehicle")
tf = logical
   1

In this case, the 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