Building C Code of Simulink Model with UDP Send/Receive
Hi all,
I am about to build Simulink models utilizing the "UDP Send" or "UDP Receive" blocks from the DSP System Toolbox.
I am not building an executable (*.exe) from the Simulink Model directly. The source and header files generated in the "…grt_rtw" are referenced in further code that comes from our inhouse software toolchain…
The overall building toolchain works for many other models / applications. Only now, as i am playing around with the UDP blocks I am receiving a linker error (LNK2019 unresolved external symbol) when building the code in Visual Studio.
Is it even possible to use the "UDP Send" and "UDP Receive" blocks for code generation other than building an *.exe?
I have referenced the DAHhostLib_network.h and *.rtw.h as well as the *.c files.
I understand, that the networkdevice.dll is cruicial for this to be working. According to one of our IT guys, I am in need of a *.lib file to link to that *.dll? But we couldn’t find any.
Thank you for any help! Would be great to get this running somehow 🙂
Best,
RaphaelHi all,
I am about to build Simulink models utilizing the "UDP Send" or "UDP Receive" blocks from the DSP System Toolbox.
I am not building an executable (*.exe) from the Simulink Model directly. The source and header files generated in the "…grt_rtw" are referenced in further code that comes from our inhouse software toolchain…
The overall building toolchain works for many other models / applications. Only now, as i am playing around with the UDP blocks I am receiving a linker error (LNK2019 unresolved external symbol) when building the code in Visual Studio.
Is it even possible to use the "UDP Send" and "UDP Receive" blocks for code generation other than building an *.exe?
I have referenced the DAHhostLib_network.h and *.rtw.h as well as the *.c files.
I understand, that the networkdevice.dll is cruicial for this to be working. According to one of our IT guys, I am in need of a *.lib file to link to that *.dll? But we couldn’t find any.
Thank you for any help! Would be great to get this running somehow 🙂
Best,
Raphael Hi all,
I am about to build Simulink models utilizing the "UDP Send" or "UDP Receive" blocks from the DSP System Toolbox.
I am not building an executable (*.exe) from the Simulink Model directly. The source and header files generated in the "…grt_rtw" are referenced in further code that comes from our inhouse software toolchain…
The overall building toolchain works for many other models / applications. Only now, as i am playing around with the UDP blocks I am receiving a linker error (LNK2019 unresolved external symbol) when building the code in Visual Studio.
Is it even possible to use the "UDP Send" and "UDP Receive" blocks for code generation other than building an *.exe?
I have referenced the DAHhostLib_network.h and *.rtw.h as well as the *.c files.
I understand, that the networkdevice.dll is cruicial for this to be working. According to one of our IT guys, I am in need of a *.lib file to link to that *.dll? But we couldn’t find any.
Thank you for any help! Would be great to get this running somehow 🙂
Best,
Raphael udp, networkdevice.dll MATLAB Answers — New Questions
​