This is machine translation

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

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

ModelAdvisor.Procedure class

Package: ModelAdvisor

Define custom procedures


The ModelAdvisor.Procedure class defines a procedure that is displayed in the Model Advisor tree. Use procedures to organize additional procedures or checks by functionality or usage.


ModelAdvisor.ProcedureDefine custom procedures



Provides information about the procedure. Details about the procedure are displayed in the right pane of the Model Advisor.

Default: '' (empty character vector)


Specifies the name of the procedure that is displayed in the Model Advisor.

Default: '' (empty character vector)


Specifies a permanent, unique identifier for the procedure.


  • You must specify this field.

  • The value of ID must remain constant.

  • The Model Advisor generates an error if ID is not unique.

  • Procedure definitions must refer to other procedures by ID.


Specifies a handle to the current Model Advisor object.


addProcedureAdd subprocedure to procedure
addTaskAdd task to procedure

Copy Semantics

Handle. To learn how this affects your use of the class, see Copying Objects (MATLAB) in the MATLAB® Programming Fundamentals documentation.