Creating mexw32 Files From 64-bit Matlab

I maintain a large block library for others to use. I recently upgraded to 64-bit windows and Matlab. Obviously I needed to recompile all of my library S-functions into mexw64 files in order for me to use them. However, I now need to provide BOTH mexw32 and mexw64 files for various users on both systems. Is there any way to generate mexw32 files on a 64-bit machine running 64-bit Matlab?

 Akzeptierte Antwort

Shashank Prasanna
Shashank Prasanna am 30 Jan. 2013
Bearbeitet: Shashank Prasanna am 30 Jan. 2013

0 Stimmen

I am afraid not. You can however simply keep a 32-Bit installation of MATLAB on the same machine 64-bit windows machine, just to generate the 32-bit mex files. As long as you have a license, you can download any version and any 'bit' matlab.

1 Kommentar

Walter Roberson
Walter Roberson am 18 Apr. 2020
In MATLAB it did eventually become possible, a few releases before 32 bit stopped being supported.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

mofra
mofra am 18 Apr. 2020

0 Stimmen

is there no way to do it as for 2020? (useing codegen)

1 Kommentar

Walter Roberson
Walter Roberson am 18 Apr. 2020
32 bit Windows is not supported for MATLAB Compiler . Possibly if you were using MATLAB Coder you could target 32 with appropriate tool chain choices.

Melden Sie sich an, um zu kommentieren.

Kategorien

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by