Info

この質問は閉じられています。 編集または回答するには再度開いてください。

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

1 回表示 (過去 30 日間)
Sayed Raiq
Sayed Raiq 2017 年 12 月 12 日
閉鎖済み: Walter Roberson 2020 年 12 月 26 日
この 質問 は Sayed Raiq さんによってフラグが設定されました
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 件のコメント
Vaibhav Arora
Vaibhav Arora 2019 年 9 月 12 日
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.

回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by