- To automatically change parameters, use the parameter override feature in Test Manager. If you want to try out many different combinations, set up a Test Iterations Table where you can list ranges or sets of values for parameters.
- Parameter values can also be imported from a CSV file or a MATLAB table, making it easy to test a wide variety of cases.
- If you need to create custom test scenarios, the Test Sequence block helps in doing this in a programmatic way.
- For bigger projects where you need to run many tests, you can write scripts using the Simulink Test API to create and run tests automatically.
- Test Manager also allows results to be exported as a CSV file for further analysis or database creation.
- For even more flexibility, MATLAB scripts with Simulink.SimulationInput can be used to sweep through parameter values, run simulations in parallel, and save results to CSV files.
¿Cómo puedo automatizar los ensayos en el Test Manager de Simulink?
3 views (last 30 days)
Show older comments
Buenas.
Necesito ayuda para obtener una buena base de datos con diferentes ensayos de una batería de 9 celdas que tengo modelada en Simulink.
Cuando he tratado de realizar los diferentes ensayos a través de Test Manager me encuentro con que el programa hace distintas iteraciones, pero sin variar el valor de unas variables. Y que repite en las distintas iteraciones los ensayos con los mismos valores, dando "x" ensayos exactamente iguales. No consigo introducir las variables a modificar en un rango que me interesa, para que se generen los ensayos automaticamente.
Necesitaría del orden de 20.000 ensayos distintos, por lo que no puedo estar corriendo el programa una y otra vez, sino automatizarlo, bien con el Test Manager, o con otra herramienta que me permita obtener bases de datos en .csv.
Agradezco enormemente de antemano la ayuda.
0 Comments
Answers (1)
Tridib
on 7 Nov 2025
Edited: Tridib
on 7 Nov 2025
Here are some steps which might help resolve the issue:
Hope this helps!
0 Comments
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!