Check if object is commented out
Check If System Is Commented Out
load_system('slrgex_sf_car') tf = slreportgen.utils.isCommented('slrgex_sf_car/Vehicle')
tf = logical 0
In this case, the
slrgex_sf_car model is not commented out.
obj — Object to check for being commented out
string | character array
Simulink or Stateflow object to check for being commented out, specified as a string or character array of the Simulink object path or handle or Stateflow object.
tf — Whether input is a masked system
Whether input is a masked system, returned as
1 (true) if the
input system is masked. Otherwise, it returns
Introduced in R2018b