64 bit Matlab still generates 32 bit dll

7 ビュー (過去 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 Center および File ExchangeDeployment, 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