C s-function

조회 수: 6 (최근 30일)
Hengqing Liu
Hengqing Liu 2019년 8월 9일
답변: Archit Dhanani 2019년 8월 12일
I have C s-function, want to use the same C s-function in muiltiple places in a model with different parameters. but when run the model I get same outputs from C s-function with different parameters. if I change the name of the C s-function, they work as intended. is there a way to make a C s-function take different parameter without changing name ?
Thanks,
Henry Liu

답변 (1개)

Archit Dhanani
Archit Dhanani 2019년 8월 12일
You can take a look at the example:
sfcndemo_csparam
Also, you can take a look at the doc:

카테고리

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

태그

제품


릴리스

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by