Borrar filtros
Borrar filtros

cant save the output of successive sim command

1 visualización (últimos 30 días)
Maradona Rodrigues
Maradona Rodrigues el 17 de Jul. de 2012
I have a simulation model which i need to run for many testcases. I have got to the point where i can run it for all the test cases but have difficulty saving the outputs.
the script goes something like this for sheet_index = 1:length(TestCases) signalbuilder('Plant_TestHarness/TestVectors','ACTIVEGROUP',sheet_index); signalbuilder('Plant_TestHarness/ExpectedOutputs','ACTIVEGROUP',sheet_index); simout=sim('Plant_TestHarness',EndTime(sheet_index)); Outputs_final{sheet_index,:}=simout; clear TestOutputs end
but the Outputs_final comes as a null structure
  2 comentarios
Ryan G
Ryan G el 17 de Jul. de 2012
When you run this you should have the last simout remaining. Does it have data?
Maradona Rodrigues
Maradona Rodrigues el 23 de Jul. de 2012
Thanks Ryan
I got the solution
cheers

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Verification, Validation, and Test en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by