Data Conversion Between MATLAB and .Net in Visual Studio
Overview :
This example is explaining how to convert various native .NET data types to types compatible with MATLAB in Visual Studio. Basically, there are two main sections here which are
1) how to import correct data type to MATLAB function in Visual Studio.
2) how to read the data type exported from MATLAB function in Visual Studio.
For this example, it expects you know how to compile your MATLAB function to .net assembly, and know how to set up the configuration of Visual Studio to call MATLAB function. You may learn those through the link below:
https://www.mathworks.com/help/compiler_sdk/gs/create-a-dotnet-application-with-matlab-code.html
Highlights :
Understand the the conversion of data type between .net and MATLAB in Visual Studio
Product Focus :
MATLAB
MATLAB Compiler SDK
Third-party Software required :
Visual Studio (This example uses Visual Studio 2017)
Written at 19 November 2018
Citation pour cette source
Kevin Chng (2024). Data Conversion Between MATLAB and .Net in Visual Studio (https://www.mathworks.com/matlabcentral/fileexchange/69469-data-conversion-between-matlab-and-net-in-visual-studio), MATLAB Central File Exchange. Extrait(e) 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.
Data Conversion Between .NET and MATLAB
Data Conversion Between .NET and MATLAB
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.0 |