Web Application from MATLAB through .Net Assembly
Overview :
In this example, It demonstrates how to build web application in Visual Studio from MATLAB through .net assembly. As per my knowledge, there are 3 ways to build web application from MATLAB :
i) MATLAB Web App Server
ii) MATLAB Compiler SDK (.net, python, java)
iii) MATLAB Production Server
Here, I will not explain pros and cons of different ways to build web application. However, I'm strongly encourage you to explore them to identify which way is the best fit to your need.
The biggest challenge is data type conversion between MATLAB and .Net Assembly. It will be explained in my next script. Other than this, the server does not need a copy of MATLAB license, instead of that, you need to install the specific MATLAB runtime version in your server. MATLAB runtime is free. MATLAB Runtime download link
[This example requires you to run it section by section.]
Highlights :
Familiar with compilation of MATLAB function to .net assembly
Understand the basic of the conversion of data type between .net and MATLAB
How to use compiled .dll (from MATLAB) in Visual Studio
Configuration required to build Web application in Visual Studio/Server for MATLAB .net assembly
Product Focus :
MATLAB
MATLAB Compiler SDK
Third-party Software required :
Visual Studio (This example uses Visual Studio 2017)
Written at 11 November 2018
In my next example, it explains data conversion between MATLAB and .NET.
https://www.mathworks.com/matlabcentral/fileexchange/69469-data-conversion-between-matlab-and-net-in-visual-studio
Citation pour cette source
Kevin Chng (2024). Web Application from MATLAB through .Net Assembly (https://www.mathworks.com/matlabcentral/fileexchange/69401-web-application-from-matlab-through-net-assembly), MATLAB Central File Exchange. Récupéré le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Web Application
Web Application
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.2 | Add Next Example Link |
||
1.0.1 | 1 step is missing - to allow VS to run web in 64bits |
||
1.0.0 |