How to use real-time variable without slowing down the simulation
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi,
I need to include time to refer to in my simulation, but since the simulation itself runs way faster than real-time i cannot use the standard clock block. I'm aware there are lots of solutions that slow down your simulation to near real-time by putting load on the cpu or pausing the simulation to compensate for the simulation speed, but i'd like to avoid that. Is it also possible to use a real clock that runs up with the actual seconds that the simulation runs?
Cheers
댓글 수: 1
Madhu Govindarajan
2015년 12월 17일
Would something like this approach work for you? - http://www.mathworks.com/matlabcentral/fileexchange/21908-simulink%C2%AE-real-time-execution
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Simulink Real-Time에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!