Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
Do i need to include *.c files for the functions called inside S function ?
조회 수: 1 (최근 30일)
이전 댓글 표시
I am creating a S-function from C-code and working directory contains all C files and H files required for execution.
I am calling a function named as "XYZ" inside "static void mdlOutputs(SimStruct *S, int_T tid)" of S function.Then i have to include "XYZ.c" which contains the definition of function "XYZ" and is executing without errors in visual studio.
If XYZ contains any other function suppose A() then again i need to include "A.c" which contains the definition of function "A".
Do i need to include *.c files for the functions called inside S function ?
댓글 수: 1
Kaustubha Govind
2013년 8월 1일
I'm not sure I understand your question. It looks like you already know that you need to include source/header files for all functions called directly or indirectly from your S-function - can you elaborate a little more?
답변 (0개)
이 질문은 마감되었습니다.
참고 항목
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!