- 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?
5 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1243432/image.png)
0 comentarios
Respuestas (1)
Akshat Dalal
el 16 de Nov. de 2023
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 comentarios
Ver también
Categorías
Más información sobre Outputs en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!