error: The model contains a block that requires to include the "dlfcn.h" header in its generated code.

18 次查看(过去 30 天)
Hi,
I am working on a model where CAN FD blocks are used for sending / receiving messages.
While I was resolving errors, I came across following error, which I cannot point out where to fix.
Basically which model that require "dlfcn.h" I used..
Does anyone have an answer for this?

回答(1 个)

Jan Houska
Jan Houska 2023-5-4
Hi Wonjin,
you cannot use the CAN FD Send or Receive blocks from Vehicle Network Toolbox with Simulink Desktop Real-Time. Please see the sldrtex_canmessage example to learn how to use Simulink Desktop Real-Time blocks for CAN FD communication.
Good Luck, Jan

类别

Help CenterFile Exchange 中查找有关 Model Preparation for Real-Time Simulation 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by