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

21 views (last 30 days)
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?

Answers (1)

Jan Houska
Jan Houska on 4 May 2023
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

Community Treasure Hunt

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

Start Hunting!