Running simulink files one after another in R2014a - problems
정보
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
이전 댓글 표시
I am trying to run a series of simulink files one after another using a for loop, loading new simulink file within a loop, and closing the file before next loop is started. However, simulink always loads the previously loaded simulink file instead of a new file. This was not the case with R2013b.
Any suggestions will be greatly appreciated.
댓글 수: 2
Andreas Goser
2014년 4월 8일
Just to understand: The "Simulink Files" are different and having different names? Or having same names?
Keshab
2014년 4월 9일
답변 (1개)
Andreas Goser
2014년 4월 10일
I tried the following code (R2014a on win7 64 Bit):
models={'vdp','f14'}
for k=1:2
open_system(models{k})
sim(models{k})
close_system(models{k})
end
It works as expected for me. What happens for you? What is your implementation?
댓글 수: 0
이 질문은 마감되었습니다.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!