C s-function

6 vues (au cours des 30 derniers jours)
Hengqing Liu
Hengqing Liu le 9 Août 2019
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

Réponses (1)

Archit Dhanani
Archit Dhanani le 12 Août 2019
You can take a look at the example:
sfcndemo_csparam
Also, you can take a look at the doc:

Catégories

En savoir plus sur Simulink Coder dans Help Center et File Exchange

Produits


Version

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by