How to specify the generated code in initialization section with Mathworks embedded coder?
이전 댓글 표시
In auto code using 2011a, it always inserts some "custom signals" in initialization secion such as x1 = ((uint16_T)0U); x2 = ((uint16_T)0U); x3 = ((uint16_T)0U);
as shown below. I 'm not sure how this part code is generated and how to specify the code generated for "custom signals" if I need.
Thanks, Yixin
void Example_initialize(void) { /* Registration code */
/* block I/O */
/* custom signals */
x1 = ((uint16_T)0U);
x2 = ((uint16_T)0U);
x3 = ((uint16_T)0U);
...
}
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Embedded Coder Supported Hardware에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!