类:金宝app仿真软件。VariantConfigurationAnalysis
包:金宝app
返回可变配置的活动块列表
activeBlocks = VarConfigObj.getActiveBlocks (ConfigName)
返回可变配置的活动块列表。activeBlocks
=VarConfigObj
.getActiveBlocks (ConfigName
)
%添加模型到路径目录(fullfile (matlabroot,“例子”,“金宝appsimulink_variants”,“主要”));%开放模式open_system (“slexVariantManagement”);%获取变量配置对象VarConfigObj =仿金宝app真软件。VariantConfigurationAnalysis (“slexVariantManagement”,“NamedConfigurations”, {“LinInterStd”,...“NonLinExterLowFid”,“NonLinExterHighFid”})%获得活动块ActiveBlocks = VarConfigObj.getActiveBlocks (“LinInterStd”)