Creating 32 bit DLL trough MatLab 2019b (64bit)

6 Ansichten (letzte 30 Tage)
Michele
Michele am 12 Feb. 2025
Bearbeitet: Michele am 14 Feb. 2025
I need to create a DLL from a set of MatLab scripts, the target environment will be LabView 2013 32 bit.
I already tried creating the DLL trough MatLab and MinGW-W64 but what I have got is not usable into LabView because is 64bit.
I googled and read many articles but I'm a little bit confused.
Is it possible using MatLab 2019b 64bit or I have to switch to a 32bit release?
Which toolchain (C/C++) I have to use? How can instruct mbuild to correctly produce 32bit binaries?
I can use MinGW-W64 or I need to reinstall it?
Which installer I should use (I tried mingw installer and cygwin but none asked about bitness)?
Is better to use Visual Studio ? Which release (2017,2019, 2022)?

Antworten (1)

Divyanshu
Divyanshu am 14 Feb. 2025
Hello @Michele,
You can refer the following documentation for details on Building 32-bit DLL on 64-bit Windows Platform Using MSCV Toolchain:
Note: This documentation is only available for R2021a or later. Therefore the steps mentioned in the documentation might not work for earlier releases.
If this does not help, then you can reach out to MathWorks Technical Support.
  1 Kommentar
Michele
Michele am 14 Feb. 2025
Bearbeitet: Michele am 14 Feb. 2025
This can be done on any Matlab version (i.e. both on 64 bit and 32 bit)?
I have access only to Matlab version 2015x and 2019b both @ 64 bit.
Since R2021 was 64 bit only I thnk it could maybe work on 2019b 64bit...

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu MATLAB Compiler SDK finden Sie in Help Center und File Exchange

Tags

Produkte


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by