Accesing simulink data in Realtime
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi ,
Does anybody know how one can access the Simulink data in realtime?
I need to access data coming out of a simulink block and use it as a limit in a completely different model. To Workspace does not serve the purpose as data gets collected there only after the simulation ends.
Any other way?
댓글 수: 0
채택된 답변
Arnaud Miege
2011년 6월 20일
Use Model Reference to include your second model in the first one, and pass the signal of interest as an input to the second model.
HTH,
Arnaud
댓글 수: 5
Arnaud Miege
2011년 6월 20일
OK, but it's a piece of MATLAB code, right? If so, you need to create a run-time object for the block. See the doc for more details:
http://www.mathworks.com/help/releases/R2011a/toolbox/simulink/ug/f13-92122.html
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Simulink Functions에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!