Facing issue in test generation using simulink test through matlab commands
显示 更早的评论
Facing issue while generating tests using command as shown in screenshot. This command is working fine on matlab 2020b update6 version but its giving below error on matlab 2021b update2 version. When I am trying to generate tests manually using simulink design verifier then its generating successfully on same model but giving below error while generating tests using below command.
Please let me know the solution of the issue.

3 个评论
Pat Canny
2022-2-8
Hi Aditi,
Thanks for reporting this issue. I have passed this along to our software engineering team for follow-up.
Thanks.
- Pat Canny (Simulink Design Verifier Product Manager)
Devendra Bhave
2022-2-9
编辑:Devendra Bhave
2022-2-9
Try disabling the harness creation. Run the following code and let us know whether it works.
tcObj = sltest.testmanager.createTestForComponent('TestFile', tf, ...
'SLDVTestGeneration', true, ...
'Component', Schedular_Name, ...
'CreateHarness', false, ... % Disable the harness creation to analyze the component directly
'TestType', 'equivalence', ...
'Simulation1Mode', 'Normal', ...
'Simulation2Mode', 'Software-in-the-Loop (SIL)'...
);
Aditi Kanawade
2022-2-9
回答(1 个)
Devendra Bhave
2022-2-9
0 个投票
It is a bit difficult to establish the root cause of the error based on the above information. I suggest you consult MathWorks technical support.
1 个评论
Pat Canny
2022-2-9
Here is a link to MathWorks Technical Support.
类别
在 帮助中心 和 File Exchange 中查找有关 Test Execution 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!