Is it possible to create 32-bit .NET Assembly using MATLAB 2017 or MATLAB 2020 ?

2 vues (au cours des 30 derniers jours)
sambit
sambit le 20 Fév 2023
Commenté : Walter Roberson le 20 Avr 2023
using MATLAB 2017 , I can create 64-bit .NET Assembly but Is it possible to create 32-bit .NET Assembly ?
  2 commentaires
chrisw23
chrisw23 le 20 Fév 2023
R2015 was the last 32bit Version
Walter Roberson
Walter Roberson le 20 Fév 2023
Some of the code generation products have the ability to generate 32 bit code. I do not know whether MATLAB Compiler SDK has the ability to generate 32 bit assembly.
There is a difference here between 32 bit link libraries (for use by 32 bit executables) and the ability to execute the matlab execution engine itself in 32 bits. Consider for example a protocol such as TCP: the different sides of a tcp connection do not need to be running on the same number of bits or the same architecture. .NET Core is specifically designed to be cross-platform and allow communication between different architectures.

Connectez-vous pour commenter.

Réponses (1)

Muskan
Muskan le 20 Avr 2023
Hi sambit,
As per my understanding of the question if the library is compiled with R2016a or later, then only 64-bit MATLAB Runtime is available and the compiled library can only be used by 64-bit applications.
Thanks
  1 commentaire
Walter Roberson
Walter Roberson le 20 Avr 2023
However, if I understand correctly .NET Core is able to handle multiple architectures. .NET Core was deliberately designed to support multiple architectures and remote execution.
R2017* did not support .NET Core, so for R2017* purposes the argument is moot. And I have no idea what the interface technology is. (If it were a Unix system I would expect it to use an IP protocol,along the lines of RPC with XPC... but it isn't a Unix-based architecture.)

Connectez-vous pour commenter.

Catégories

En savoir plus sur Deploy to .NET Applications Using MWArray API dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by