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?

 Réponse acceptée

Shashank Prasanna
Shashank Prasanna le 30 Jan 2013
Modifié(e) : Shashank Prasanna le 30 Jan 2013

0 votes

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 commentaire

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

Connectez-vous pour commenter.

Plus de réponses (1)

mofra
mofra le 18 Avr 2020

0 votes

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

1 commentaire

Walter Roberson
Walter Roberson le 18 Avr 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.

Connectez-vous pour commenter.

Catégories

En savoir plus sur MATLAB Coder dans Centre d'aide et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by