Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
How can I save my results from each iteration of a FOR loop?
조회 수: 1 (최근 30일)
이전 댓글 표시
Hello i am doing simulation in simulink and saving simulink scope results in array format. Given name as "error"
In matlab script i have implemted for loop. I want to save "error" results for each iteration.
how could i do this ?
for example
******************************
for p=1:4
sim('with50osc.mdl')
e{i}=error;
end
******************************* In this, my simulink scope results are saved in "error" as an array. but i am not getting how to plot it ? and the results are storing as following way
< 25627*2 double > [ ] [ ] [ ]
댓글 수: 1
답변 (0개)
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!