GRT vs ERT
조회 수: 83 (최근 30일)
이전 댓글 표시
What is the key difference between Generic real time code and Embedded real time code?
댓글 수: 0
채택된 답변
Walter Roberson
2012년 2월 4일
편집: Walter Roberson
2019년 3월 9일
When you choose a target configuration, you implicitly choose a code format. If you use Real-Time Workshop Embedded Coder, for example, the code generated will be in embedded C format. The embedded C code format is a compact format designed for production code generation. Its small code size, use of static memory, and simple call structure make it optimal for embedded applications.
Many other targets, such as the generic real-time (GRT) target, use the real-time code format. This format, less compact but more flexible, is optimal for rapid prototyping applications.
And see the comparison chart, https://www.physiol.ox.ac.uk/Computing/Online_Documentation/Matlab/toolbox/rtw/rtw_ug/codefor3.html#1011734
댓글 수: 0
추가 답변 (1개)
Joseph Stalin
2019년 3월 9일
편집: Walter Roberson
2019년 3월 9일
thx Walter...
in crisp...
simply the grt target for PC level simulation. Not intended for flashing into a HW.
But ert is target intended. used for an optimized code generation in production. Different HW suppliers will supply their own target files.. example.. If we purchase TI 28XX DSP boards, with Simulink libraries they supply their own target files..
thx,
joseph
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!