Main Content
RTW.getBuildDir
Get build folder information from model build information
Description
RTW.getBuildDir(
displays build folder
information for model.model
)
If the model is closed, the function opens and then closes the model, leaving it in its
original state. If the model is large and closed, the RTW.getBuildDir
function can take longer to execute.
returns a structure containing build folder information.folderStruct
= RTW.getBuildDir(model
)
You can use this function in automated scripts to determine the build folder in which the generated code for a model is placed.
This function can return build folder information for protected models.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2008b