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.

addProcedure

Class: ModelAdvisor.Procedure
Package: ModelAdvisor

Add subprocedure to procedure

Syntax

addProcedure(procedure1_obj, procedure2_obj)

Description

addProcedure(procedure1_obj, procedure2_obj) adds a procedure, specified by procedure2_obj, to the procedure procedure1_obj. procedure2_obj and procedure1_obj are instantiations of the ModelAdvisor.Procedure class.

Examples

Add three procedures to MAP.

MAP = ModelAdvisor.Procedure('com.mathworks.sample.ProcedureSample');

MAP1=ModelAdvisor.Procedure('com.mathworks.sample.procedure1');
MAP2=ModelAdvisor.Procedure('com.mathworks.sample.procedure2');
MAP3=ModelAdvisor.Procedure('com.mathworks.sample.procedure3');

addProcedure(MAP, MAP1);
addProcedure(MAP, MAP2);
addProcedure(MAP, MAP3);
Was this topic helpful?