Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

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

1 Ansicht (letzte 30 Tage)
Sayed Raiq
Sayed Raiq am 12 Dez. 2017
Geschlossen: Walter Roberson am 26 Dez. 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 Kommentar
Vaibhav Arora
Vaibhav Arora am 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.

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by