MATLAB in lightweight platforms

How to run MATLAB code in .NET and JAVA framework
1,2K Downloads
Aktualisiert 25 Aug 2016

Lizenz anzeigen

http://www.mathworks.com/services/consulting/proven-solutions/matlab-in-business-critical-applications.html
This example shows some examples of custom MATLAB functions that are translated into C DLL code with MATLAB Coder. The generated C code is then used in C# with InterOpServices (.NET service) and in JAVA with JNI. The result is that you can use your custom MATLAB algos on any platform.
This workflow is usefull for platforms (.NET or JAVA) where the Matlab Component Runtime (MCR) cannot be used.
The archive contents:
- custom MATLAB functions (*.m) that manipulate arrays (in and out).
- custom MATLAB script (*.m) that uses codegen to create the C DLL
- a Visual Studio 2010 C# console application (*.sln, *.cs) that uses the C DLL in C# and VB.NET.
- JAVA code that uses the MATLAB function with JNI interface

See files /MATLAB/for_JAVA.m and /MATLAB/for_NET.m that details the commands.

Zitieren als

Christophe Pouillot (2024). MATLAB in lightweight platforms (https://www.mathworks.com/matlabcentral/fileexchange/38435-matlab-in-lightweight-platforms), MATLAB Central File Exchange. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R2012b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Get Started with MATLAB Compiler SDK finden Sie in Help Center und MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
1.1.0.0

Update the archive file and the description.
update description with link to webpage