Main Content

slreportgen.utils.isValidSlSystem

Check if system is valid Simulink system

Description

tf = slreportgen.utils.isValidSlSystem(system) tests if the input system is a valid Simulink® block diagram or subsystem block. Use this utility to determine whether a system is in memory.

Input Arguments

collapse all

System to check for validity, specified as a string or character array of the path or handle of a Simulink block diagram or subsystem block.

Output Arguments

collapse all

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

Version History

Introduced in R2018b