Advisor.Config
说明
使用 Advisor.Config 对象创建自定义模型顾问配置。
创建对象
描述
创建一个模型顾问配置对象,您可通过该对象访问一个可编辑的空白模型顾问配置。您可以使用该对象执行以下操作:cfgObj = Advisor.Config
向该空白配置中添加检查和文件夹,以创建自定义配置。
加载现有配置文件作为活动配置,并对其进行自定义。
对象函数
loadConfig | 加载现有配置文件以进行自定义 |
addFolder | Create new folders in configuration |
addCheck | Add built-in and published custom checks in configuration |
select | Include check and folder instances in Model Advisor analysis |
deselect | Exclude check and folder instances from Model Advisor analysis |
enable | Enable check and folder instances in configuration |
disable | Disable check and folder instances in configuration |
delete | Delete check and folder instances from configuration |
isSelected | Determine if check and folder instances are selected in configuration |
saveConfiguration | Save Model Advisor configuration to JSON file |
getConfigFile | Return active Model Advisor configuration filename |
createFromCheckList | Add checks in Model Advisor configuration using predefined list of check IDs |
getInputParameters | Return input parameters for check |
setInputParameters | Update input parameter for a check |
getInputParameterByName | Return value of input parameter for check |
setInputParameterByName | Update value of input parameter for a check |
示例
版本历史记录
在 R2024b 中推出