필터 지우기
필터 지우기

How to use c inline function in simulink model?

조회 수: 2 (최근 30일)
sneha bharadwaj
sneha bharadwaj 2017년 2월 9일
I have a c script in which i have an inline function 'rcvmesg((l_VarParameters_ST, MESG_VarParameters_ST)'
I need to return the same function in the generated code using simulink coder so i used S-function block(LCT) I have declared and defined the above function in header and source file but after using it in S function i get an error saying 'Token (or expression) "l_VarParameters_ST" not recognized(in"Header_RcvMESG(l_VarParameters_ST, MESG_VarParameters_ST)(double u1,double y1)". Please someone give me solution for this

답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by