S-Function not building in Simulink.

6 ビュー (過去 30 日間)
Rahul
Rahul 2025 年 10 月 9 日 12:12
Hello,
I am using MATLAB 2024a. I am trying to build an S-Function block in simulink. So the block contains my code on how the functionality needs to operate. Now I am encountering a very weird issue with this. In the S-Funblock if at the input, I connect a constant block then I am able to build it, if I connect a data store read block or a 'goto from' block the S-Function does not build. The error that I recieve while building the s-function with a data store memory is C:/Akhila/TASKS/Library/sFuncLib/TEST/test_ert_rtw/test.c:37: undefined reference to `equate_Outputs_wrapper'.
Now the same s-function by having a constant block input builds. The wrapper file is already in place. I need a data store memory to be an input to the s-function as i want to manipulate its value after flashing it on pcb.
Then why am I not able to build the s-function? Can someone help me with the same?

回答 (0 件)

カテゴリ

Help Center および File ExchangeSimulink Coder についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by