Why am I getting "Undefined Symbol" warning for using S-Function in Simulink?

7 visualizzazioni (ultimi 30 giorni)
I created an S-Function and copied it in my simulink model. Now getting software build warning " Undefined Symbol: SFunction_output_wrapper" in object file. Can anyone help me with this?
Is there any way to embed SFunction.c & SFunction_wrapper.c code in S function block or Similiar block?
  2 Commenti
TH
TH il 6 Giu 2019
Yes, they all are in same folder/path. After copying S function into my model, I did a code gen. In that code, only an external Sfunction-_output_wrapper is called. I expected my custom S function code in the generated code file from my model.

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Block and Blockset Authoring in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by