Main Content

slreportgen.utils.compileModel

Compile model

Description

slreportgen.utils.compileModel(modelname) compiles the model specified in the modelname input. If modelname is a Simulink® block or Stateflow® object, the model that contains the block or object is compiled.

Input Arguments

collapse all

Model to compile, specified as a character array or string of the model handle, block handle, or Stateflow object. If modelname is an element in the model or chart, this utility compiles the containing model or chart.

Introduced in R2018b