Test Sequence - Sample Time period
    11 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
    Giuseppe Narracci
 el 24 de Jun. de 2021
  
    
    
    
    
    Editada: Srijith Kasaragod
    
 el 30 de Ag. de 2021
            Hello,
I am using a Test Sequence block because I want to stimulate another block in a Test Harness but I have an error in Simulink Test Manager when I run the simulation test because the sample time period of the Test Sequence Block is 0.2 and It requires that the fixed-step size in the model must be a multiple of 0.2. Why?
How can I change the sample time period of test sequence? For example 0.001 s ?

0 comentarios
Respuesta aceptada
  Srijith Kasaragod
    
 el 30 de Ag. de 2021
        
      Editada: Srijith Kasaragod
    
 el 30 de Ag. de 2021
  
      As per my understanding, you have chosen fixed-step solver to run the test harness with a step size of 0.5 and then chosen a sample time of 0.2 for your test sequence block. This results in an error as a fixed step size of 0.5 will not be able to cover the rate of execution of test sequence block since 0.2 is less than 0.5. The sample time of all blocks in the model has to be a multiple of solver step size. Alternately, you can also choose a variable-step solver to execute your test harness, by which the solver will automatically choose time steps to cover step size requirements of all blocks included. 
Sample time of test sequence block can be modified by opening configuration parameters in the test sequence editor.
0 comentarios
Más respuestas (0)
Ver también
Categorías
				Más información sobre Inputs 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!

