edittime.setAdvisorChecking

Check your model interactively against modeling standards

Description

example

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.

Examples

collapse all

Check your model interactively.

Open the vdp example model.

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

Introduced in R2019a