Main Content

edittime.setAdvisorChecking

Check your model interactively against modeling standards

Description

edittime.setAdvisorChecking(model,value) specifies whether to use the Model Advisor to check your model interactively against modeling standards. This function is the equivalent to selecting Modeling > Model Advisor > Edit-Time Checks and selecting the check box for Edit-Time Checks.

example

Examples

collapse all

Check your model interactively.

Open the vdp example model.

openExample('vdp')

Turn on edit-time checking.

edittime.setAdvisorChecking('vdp','on')

Confirm that edit-time checking is on.

edittime.getAdvisorChecking('vdp')

Input Arguments

collapse all

Model that you want to apply edit-time checking to.

Data Types: char

To turn edit-time checking on, set value to on. To turn edit-time checking off, set the value to off.

Data Types: char

Version History

Introduced in R2019a