Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

I want to generate a C function with arguments in and a return value back.

조회 수: 1 (최근 30일)
Mark
Mark 2014년 10월 2일
마감: MATLAB Answer Bot 2021년 8월 20일
I can generate code but it is not in the format of a function. I have simulink model that works and embedded coder builds the code, but it is not in the C function format that could be easily added to my code set.
  댓글 수: 3
Bruno Pop-Stefanov
Bruno Pop-Stefanov 2014년 10월 7일
Can you elaborate on the API that you are expecting and the declaration of the function that gets generated?
Mark
Mark 2014년 10월 20일
I have broken my model up into functions (reference models) that connect together to build the system. I then want to build a C function from each of these individual reference models. We would then pass these functions to the software team to test in the production code.
I would like to pass in an array of data (43 X 16 bit unsigned integers) and have a 16 bit unsigned integer returned

답변 (1개)

Mark
Mark 2014년 10월 20일
I have broken my model up into functions (reference models) that connect together to build the system. I then want to build a C function from each of these individual reference models. We would then pass these functions to the software team to test in the production code.
I would like to pass in an array of data (43 X 16 bit unsigned integers) and have a 16 bit unsigned integer returned.

이 질문은 마감되었습니다.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by