Error evaluating 'InitFcn' callback of create Ethernet block
2 次查看(过去 30 天)
显示 更早的评论
Hi all
I am working on xPC target simulation. I would like to send data from target to a PC using the Ethernet card. I have used the Ethernet initialization block and have specified all the parameters including MAC address. I am trying to create Ethernet packet using 'create Ethernet packet' block and transmit it through the 'Ethernet Transmit' block.
When I try to run the model, i'm getting the following errors. 1. Error evaluating 'InitFcn' callback of xpcnbcompose block 2. A Network Buffer Management block is required. 3. Error evaluating 'InitFcn' callback of xpcetherinit block 4. A Network Buffer Management block is required.
Please help me with this.
Thank you.
1 个评论
Balasubramanian Srikanthan
2017-5-24
编辑:Balasubramanian Srikanthan
2017-5-25
I'm facing the exact same problem. It would really be helpful if you could post the solution that you figured out.
回答(1 个)
Kaustubha Govind
2012-6-6
I don't know anything about using the xPC Ethernet blocks, but the error message seems to say that you need to add a Network Buffer Management block from the xPC Target Ethernet Block Library. Did that not help?
2 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Target Computer Setup 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!