MATLAB 帮助中心
本页采用了机器翻译。点击此处可查看最新英文版本。
在 Simulink Test 管理器中加载测试文件
tfObj = sltest.testmanager.load(filename)
tfObj = sltest.testmanager.load(filename) 在 Simulink® Test™ 管理器中加载一个测试文件。
tfObj
filename
示例
全部折叠
加载测试文件并在测试管理器中查看它。
exampleFile = 'sltestParameterOverridesTestSuite.mldatx'; sltest.testmanager.load(exampleFile); sltest.testmanager.view;
测试文件的文件名,指定为字符向量。字符向量必须完整指定测试文件的位置。该文件可以是测试文件(.mldatx),或者如果 MATLAB 测试文件是从 sltest.TestCase 派生的类,则为 MATLAB 测试文件(.m)。
.mldatx
sltest.TestCase
.m
示例: 'C:\MATLAB\test_file.mldatx'
'C:\MATLAB\test_file.mldatx'
测试文件,作为 sltest.testmanager.TestFile 对象返回。
sltest.testmanager.TestFile
在 R2015a 中推出
sltest.TestCase | sltest.testmanager.run | sltest.testmanager.view | sltest.testmanager.TestFile
sltest.testmanager.run
sltest.testmanager.view
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 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
欧洲
亚太
联系您当地的办事处