Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

How to Compile a UDP Send/Receive Block in IPG Car Maker PLugin Modell?

1 vue (au cours des 30 derniers jours)
Sayed Raiq
Sayed Raiq le 12 Déc 2017
Clôturé : Walter Roberson le 26 Déc 2020
Hello Matlab Community,
I try to integrate UDP Signals in the Environment of IPG Car Maker with the Plugin Modell. First I did the Connection with CarMaker for Simulink and the Communication works but the Simulation is lame. When I using the same UDP Block for the CM Plugin Modell the Build procees completed succesfully but it didn't works.
CarMaker creates additionally two more files in the mymodel_Carmaker_rtw folder when using a UDP Block, the
  • Hostlib_rtw.o and
  • Hostlib_Network.o
Inside the Hostlib_rtw.o is some compiled code and
..use the packnGo function.. ..libcreate libstart..libdestroy Could not determine function entry Points in Error..
Inside the Hostlib_Network.o is also some compiled Code and
..networkdevice.dll GCC:(GNU) 5.1.0..Hostlib_Network.c..CreateUDPInterface _DestroyUDPInterface and so on.
The UDP Blocks I use, are from the Simulink Coder Library, I try it with TYPE Host and Windows.
Does anybody have a Solution for that issue?
Thank You!
  1 commentaire
Vaibhav Arora
Vaibhav Arora le 12 Sep 2019
When building the Plug-in model, select the create pack n go function in solver configuration of Simulink. Unzip the created folder and find the dll files in the bin folder. You should place these dlls in the same folder where the CarMaker would be built (typically src). Should work.

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by