- 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 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (1)
Akshat Dalal
le 16 Nov 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 commentaires
Voir également
Catégories
En savoir plus sur Outputs dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!