Trying to build a 64 bit DLL

5 views (last 30 days)
Pradeep Sharma Oruganti
Pradeep Sharma Oruganti on 21 Feb 2019
Commented: Vishnu Dev Amara on 26 Jul 2019
I am trying to build a dll to be used in an application that is 64 bit. I build my model in Simulink and build it. Although the dll is built, I see that it is a 32 bit DLL and I am getting errors when I use it with the application. I see the following in the diagnostics window in simulink.
.......
>call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\VCVARSALL.BAT " x86 ********************************************************************** ** Visual Studio 2017 Developer Command Prompt v15.9.7 ** Copyright (c) 2017 Microsoft Corporation ********************************************************************** [vcvarsall.bat] Environment initialized for: 'x86'
Is there a way I could build a 64 bit DLL ? I am on a 64 bit Windows 10 OS.
  1 Comment
Vishnu Dev Amara
Vishnu Dev Amara on 26 Jul 2019
Did you already find a solution to this problem ? I am facing the same issue as well.

Sign in to comment.

Answers (0)

Categories

Find more on Simulink Functions in Help Center and File Exchange

Products


Release

R2018b

Community Treasure Hunt

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

Start Hunting!