Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

publish

Class: ModelAdvisor.Root
Package: ModelAdvisor

Publish object in Model Advisor root

Syntax

publish(root_obj, check_obj, location)
publish(root_obj, group_obj)
publish(root_obj, procedure_obj)
publish(root_obj, fg_obj)

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 Verification and Validation > Modeling Standards folder, use the following: 'Simulink Verification and Validation|Modeling Standards'.

If the By Product is not displayed in the Model Advisor window, select Show By Product Folder from the Settings > Preferences dialog box.

publish(root_obj, group_obj) specifies the ModelAdvisor.Group object to publish as a folder in the Model Advisor Task Manager folder.

publish(root_obj, procedure_obj) specifies the ModelAdvisor.Procedure object to publish.

publish(root_obj, fg_obj) specifies the ModelAdvisor.FactoryGroup object to publish as a subfolder in the By Task folder.

Examples

% publish check into By Product > Demo group.
mdladvRoot.publish(rec, 'Demo');
Was this topic helpful?