how do I call from simulink a C function with many pointer arguments, and read such values as well?

조회 수: 2 (최근 30일)
Hi, my software is partly based on simulink applications and part in C code. The simulink calls C functions that usually return 1 output.
Recently, I've got C functions (from another development team), which 'return' a number of pointers as arguments. Example:
u16 NewSystemFunction (u16 *arg_1, s32 *arg_2, u16 *arg_3);
The question is, how do I call NewSystemFunction from Simulink and read arg_1, arg_2, arg_3 values?
Thanks in advance

답변 (0개)

카테고리

Help CenterFile Exchange에서 Programmatic Model Editing에 대해 자세히 알아보기

제품


릴리스

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by