필터 지우기
필터 지우기

cant save the output of successive sim command

조회 수: 1 (최근 30일)
Maradona Rodrigues
Maradona Rodrigues 2012년 7월 17일
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
Ryan G
Ryan G 2012년 7월 17일
When you run this you should have the last simout remaining. Does it have data?
Maradona Rodrigues
Maradona Rodrigues 2012년 7월 23일
Thanks Ryan
I got the solution
cheers

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Verification, Validation, and Test에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by