qc_is_model_file qc_check_model navigation bar

Table of Contents

qc_is_model_open

Returns true if the argument is an open Simulink model. Otherwise returns false.

Syntax

is_open = qc_is_model_open(model)
    

Description

Returns true if the argument is a Simulink model that is open or loaded in Matlab. Otherwise it returns false.

Parameters

model

A string indicating the name of the model or a model handle. For example, 'q_a_lpbk'.

Outputs

is_open

True if the given argument identifies a valid Simulink model. Otherwise false.

Examples

is_open = qc_is_model_open('q_a_lpbk'); % Returns true if q_a_lpbk is an open Simulink model.
    

See Also

 

navigation bar