帮助中心帮助中心
本页翻译不是最新的。点击此处可查看最新英文版本。
命名空间: slmetric.dashboard
激活自定义度量仪表板布局
slmetric.dashboard.setActiveConfiguration(fullfile)
示例
slmetric.dashboard.setActiveConfiguration(fullfile) 将自定义度量仪表板布局设置为默认配置。当您使用度量仪表板收集度量数据时,度量引擎使用此自定义布局。
fullfile
注意
向此函数传递空字符串(即 slmetric.dashboard.setActiveConfiguration(''))会将配置重置为默认出厂配置。
slmetric.dashboard.setActiveConfiguration('')
全部折叠
在 MATLAB 命令行中,输入以下命令以设置活动度量配置:
slmetric.config.setActiveConfiguration('C:\temp\MyConfig.xml');
包含 XML 文件的文件夹的文件的完整路径,该文件包含度量仪表板自定义配置。
示例: 'C:\temp\MyConfig.xml'
数据类型: char
char
在 R2018b 中推出
slmetric.config.Configuration | slmetric.config.getActiveConfiguration
slmetric.config.Configuration
slmetric.config.getActiveConfiguration
您点击的链接对应于以下 MATLAB 命令:
请在 MATLAB 命令行窗口中直接输入以执行命令。Web 浏览器不支持 MATLAB 命令。
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office