Hi NXP Team,
I'm trying to develop a program which implements an S-Function block with my code.
I've created a basic S-Function with the S-Function Builder block that when the input is a pair number the output is 1 and 0 instead. I've also added the Path where it's been created to MATLAB.
When i drop the S-Function block into my project, properly linke with the S-Function cereated, when i start the building phase an error occurs:
.../s32k3xx_can_transmit_ebt.c:183: undefined reference to `pair_dispair_sfn_Outputs_wrapper' collect2.exe: error: ld returned 1 exit status
I also tried to create a simulink blanck model with only the S-Function black that display the output and i've found out that it works correctly, even if it's not in the same directory of the S-Function's files.
I've searched this problem and i've found this in the community:
But is quite old and the directory indicated there is not present on my pc...
How could i solve this error?
I'm using MBDT with the S32K358EVB-Q289
Thanks
Simon