Main Content

publish

Publish object in Model Advisor root

Syntax

publish(root_obj, check_obj, location)

Description

publish(root_obj, check_obj, location) specifies where the Model Advisor places the check in the Model Advisor tree. location is either one of the subfolders in the By Product folder, or the name of a new subfolder to put in the By Product folder. Use a pipe-delimited character vector to indicate multiple subfolders. For example, to add a check to the Simulink Check > Modeling Standards folder, use the following: 'Simulink Check|Modeling Standards'.

Examples

% publish check into By Product > Demo group.
mdladvRoot.publish(rec, 'Demo');

Version History

expand all