How to use C Caller block with C code having multiple functions ?

조회 수: 8 (최근 30일)
sanjay kumawat
sanjay kumawat 2021년 8월 30일
답변: Mark McBroom 2021년 9월 14일
I want to use a C language code into simulink which has multiple functions in it. Can it be done by C Caller block.

채택된 답변

Mark McBroom
Mark McBroom 2021년 9월 14일
The C Caller block can only call one function. You can either use a seperate C-Caller block for each function, or write a wrapper C-function that calls multiple functions and then call that wrapper C-function from the C-Caller block.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Simulink Functions에 대해 자세히 알아보기

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by