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

21 Ansichten (letzte 30 Tage)
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?

Antworten (1)

Jan Houska
Jan Houska am 4 Mai 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

Kategorien

Mehr zu Model Preparation for Real-Time Simulation finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by