64 bit Matlab still generates 32 bit dll

조회 수: 3 (최근 30일)
Pradeep Sharma Oruganti
Pradeep Sharma Oruganti 2019년 2월 18일
답변: Satwik 2025년 3월 28일
I am trying to generate a dll file to use in Vector CANoe (64 bit). When I create the dll file from Simulink, it generates a 32 bit dll even though I am on 64 bit MATLAB. When I use this dll in CANoe, I get the error "Could not load file or assmebly 'file://(LOCATION OF FILE)\test.dll' or one of its dependencies. The module was expected to contain an assembly manifest. ".
  댓글 수: 1
Michael Thieme
Michael Thieme 2020년 10월 14일
Pradeep, did you have any success figuring this out?

댓글을 달려면 로그인하십시오.

답변 (1개)

Satwik
Satwik 2025년 3월 28일
Kindly refer to the existing MATLAB answer given below:
It tells us how to generate a 32-bit DLL on a 64-bit machine by setting the Code Generation 'Target selection' and 'Toolchain settings' appropriately.
You should ensure that these settings are correctly configured to generate a 64-bit DLL in your case.

카테고리

Help CenterFile Exchange에서 Deployment, Integration, and Supported Hardware에 대해 자세히 알아보기

태그

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by