Editor's Note:此文件被选为Matlab CentralPick of the Week
cmtdtoolis an assistant tool for model-based testing in MBD processes. Initially, this tool is developed for JMAAB-CMTD-WG (JMAAB: Japan MBD Automotive Advisory Board, CMTD-WG: Control Model Test Design Working Group). After several improvements upon feedback from the JMAAB-CMTD-WG members, it is published to MATLAB Central.
在运行控制器模型的测试时执行测试设计,编写测试模型,测试执行和报告。此工具可帮助您减少和自动执行执行它们所需的手动操作。
(1) Excel to SignalBuilder conversion
(1-1)从Excel选择创建SignalBuilder块
Import, add, and replace time-dependent signals selected region in a Excel sheet into SignalBuilder block.
(1-2)在Excel表中导入Excel表中的测试向量一次
Import multiple time-dependent signals into a Excel sheet to a SignalBuilder block at once.
(2) Excel to Truth Table block conversion
(2-1)从Excel生成真理表块]
Import a truth table represented in an Excel sheet to a Truth Table block.
(2-2)为断言验证生成真实表
Import verification equations represented in a Excel sheet to a Truth Table block.
(2-3) User defined test
Generate a block which enables to check relations between inputs and expected outputs represented in an Excel sheet.
(3) Test Harness
(3-1) Generate test harness
Generate a test harness model which is composed by SignalBuilder + Data Conversions + Controller model from a controller model.
(3-2) Generate harness to compare with expected output
Generate a test harness model to compare outputs from a model with expected outputs for given test signals.
(4) Reporting
(4-1)自动测试报告生成
在测试线束模型中运行SignalBuilder块中的每组信号,并自动生成测试报告。
Yasumitsu Ito(2020)。cmtdtool(//www.tatmou.com/matlabcentral/fileexchange/31609-cmtdtool),matlab中央文件exchange。检索到.
1.2.0.1. | 更新license |
|
1.2.0.0. | Upgraded to MATLAB Toolbox file format |
|
1.1.0.0. | Added two options (1) to set a link between tests and Excel region (2) to select a style of test harness: a) model block or b) copied subsystem. |
Heejeong Han.(查看资料)
I cannot use in 2006b version. why not?
zhihui diao(查看资料)
i find that logsout.unpack('all') cannot use in 2016a version,so it result with an error
zhihui diao(查看资料)
i find that logsout.unpack('all') cannot use in 2016a version,so it result with an error
Ganesh N(查看资料)
Recently i have downloaded this and trying to use with the R2012B. But i am facing issue while generating Test Harness. It shows an error "failed to make harness model".
zhou jianshan(查看资料)
Thank you for your sharing!
Kunihiro Sakai(查看资料)
Takaaki Matsui.(查看资料)
Takayuki KUBO(查看资料)