- Combine MAT-files: If your iterations are stored in separate MAT-files, you can merge them into a single MAT-file. You can use MATLAB's ‘load’ and ‘save’ functions to load the data from each MAT-file and then save them into a new combined MAT-file. Once you have the combined MAT-file, you can add it to the baseline criteria in Simulink Test Manager. You could refer the following documentation on how to merge multiple MAT-files into one combined MAT-file: https://stackoverflow.com/questions/23042401/how-to-concatenate-several-mat-files-into-one
- Script or Customization: Simulink Test Manager provides a MATLAB API that allows you to automate tasks and perform customizations. You can write a MATLAB script that iterates through your iterations and adds them to the baseline criteria one by one using the API. This way, you can automate the process and add multiple MAT-files at once. You could refer the following documentation for more information: https://www.mathworks.com/help/sltest/ug/create-and-run-test-cases-with-scripts.html
How do I add multiple mat files to baseline criteria in Simulink test manager automatically?
9 次查看(过去 30 天)
显示 更早的评论
I am trying to add multiple mat files to baseline criteria in simulink test manager.
But it allows only one file at a time.
Is there a way to add all my iterations at once?
0 个评论
回答(1 个)
Akshat Dalal
2023-11-16
Hi Junhyung,
I understand you want to add multiple MAT-files to the baseline criteria in Simulink Test Manager. Currently, Simulink Test Manager only allows adding one MAT-file at a time. However, there are a few workarounds you can consider to add multiple iterations at once:
I hope this helps.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Outputs 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!