MATLAB 帮助中心
本页采用了机器翻译。点击此处可查看最新英文版本。
将可追溯性矩阵配置导出到脚本
自 R2024a 起
exportToScript(configuration,filename)
exportToScript(configuration,filename) 将可追溯性矩阵配置 configuration 导出到脚本 filename。
configuration
filename
示例
全部折叠
此示例显示如何将可追溯性配置导出至脚本。
从已保存的视图中获取可追溯性矩阵选项。
view = slreq.getTraceabilityMatrixOptions("matrix_view.json");
从矩阵选项中获取可追溯性矩阵配置。
configuration = view.options;
将配置导出到文件,matrixConfiguration。
matrixConfiguration
exportToScript(configuration,"matrixConfiguration");
slreq.matrix.Configuration
要导出的可追溯性矩阵配置,指定为 slreq.matrix.Configuration 对象。
导出脚本的文件名,指定为字符串标量或字符向量。
数据类型: char | string
char
string
在 R2024a 中推出
slreq.matrix.Configuration | slreq.matrix.Filter | addFilterToCell | addFilterToHighlight | addFilterToLeft | addFilterToMatrix | addFilterToTop
slreq.matrix.Filter
addFilterToCell
addFilterToHighlight
addFilterToLeft
addFilterToMatrix
addFilterToTop
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
选择网站
选择网站以获取翻译的可用内容,以及查看当地活动和优惠。根据您的位置,我们建议您选择:。
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 MathWorks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
欧洲
亚太
联系您当地的办事处