how can I use graphical function in chart at C action language?

this is the stateflow ,i want use graphical function in OFF status,use exteral function in ON status(i set extern C file in configration is ok)。when i use this stateflow make code generation。when i use chart action language MATLAB ,and comment 2 ie.% H=changeH(EXData.h).it ok. but not comment,following errors is occuring.
for use extern function, I search one method :use chart action language C. but in this action language ,not identify graphical function.How how can I use graphical function in chart at C action language?or other solve method?

댓글 수: 1

i can call no hanve parameter,like following:
but not can call have parameter. use aboce chart can generated code no error or warning

댓글을 달려면 로그인하십시오.

 채택된 답변

kill with
kill with 2020년 11월 28일

0 개 추천

I solved this issue. EXData.H data type is default double,but my externfunction is int.....

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Decision Logic에 대해 자세히 알아보기

제품

릴리스

R2019b

질문:

2020년 11월 28일

답변:

2020년 11월 28일

Community Treasure Hunt

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

Start Hunting!

Translated by