Difference between c function and s function
이전 댓글 표시
Is there any difference between c function and s function block?In the mathlab documentation I saw as
"The C Function block supports initializing persistent data and calling external functions from the block dialog. The C Function block supports only initializing and terminating persistent data; the block does not support updating the data during simulation. To model a dynamic system with continuous states, use an S-Function block. "
Can anyone explain me this difference with some example? Or whether this difference is no longer there in new version(2024a) of Matlab?
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Simulink Coder에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!