- 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?
조회 수: 10 (최근 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!