Creating 32 bit DLL trough MatLab 2019b (64bit)
17 views (last 30 days)
Show older comments
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)?
0 Comments
Answers (1)
Divyanshu
on 14 Feb 2025
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.
See Also
Categories
Find more on MATLAB Compiler SDK in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!