System Test: Simulation time

1 visualización (últimos 30 días)
Jeff
Jeff el 6 de Dic. de 2012
Respondida: Jens el 13 de En. de 2014
I am using the System Test toolbox. I am running a matlab script within System Test to analyze test results of a Simulink simulation that was ran with some test vectors. In the Matlab script, I need to have a vector that corresponds to the system time - is there anyway to get the system time. I don't want to make it an output from the Simulink model - it would only be an output for system test and that doesn't seem a good reason to create it there.
Thanks!
  2 comentarios
Ryan G
Ryan G el 7 de Dic. de 2012
Is your system fixed-step or variable step? How do you set the simulation time? How do you define the test vectors?
TAB
TAB el 7 de Dic. de 2012
What is your system time. Is it sample time of model or vector of sample times ?

Iniciar sesión para comentar.

Respuestas (1)

Jens
Jens el 13 de En. de 2014
When you use TPT as testing tool it handles all timing for you.

Categorías

Más información sobre Testing Frameworks en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by