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