64 bit Matlab still generates 32 bit dll

3 vues (au cours des 30 derniers jours)
Pradeep Sharma Oruganti
Pradeep Sharma Oruganti le 18 Fév 2019
Réponse apportée : Satwik le 28 Mar 2025
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 commentaire
Michael Thieme
Michael Thieme le 14 Oct 2020
Pradeep, did you have any success figuring this out?

Connectez-vous pour commenter.

Réponses (1)

Satwik
Satwik le 28 Mar 2025
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.

Catégories

En savoir plus sur Deployment, Integration, and Supported Hardware dans Help Center et File Exchange

Tags

Produits


Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by