Check if model is loaded
Check If Model Is Loaded
Run the following command to access the supporting files used in this example.
load_system('slrgex_sf_car') tf = slreportgen.utils.isModelLoaded('slrgex_sf_car')
tf = logical 1
In this case, the
slrgex_sf_car model is loaded.
model — Model to check for being loaded
string | character array
Model to check for being loaded, specified as a string or character array of the model path or handle.
tf — Whether input model is loaded
Whether input model is loaded into memory, returned as
if the input model is loaded. Otherwise, it returns
Introduced in R2018b