After converting my project from matlab to .net. I get three folders. How can i use these files in visual studio to develop asp.net visualc# web form application. Kindly provide the information.

 Réponse acceptée

Kojiro Saito
Kojiro Saito le 18 Avr 2018

0 votes

Here's a link to document.

document: Integrate a .NET Assembly Into a C# Application

For developing, rather than using installer in for_redistribution, it's useful to use .dll file in for_testing folder. In Visual Studio C# project, include this *.dll file (or *Native.dll if you want to use native .NET API) and MWArray.dll as references. MWArray.dll is located in each of the following.

$MATLAB_INSTALL\toolbox\dotnetbuilder\bin\win64\v4.0\MWArray.dll

or

$MATLAB_Runtime_INSTALL\toolbox\dotnetbuilder\bin\win64\v4.0\MWArray.dll

For C# sample code, please check "C# Code to Implement Application" of Step 5 in this document.

3 commentaires

varinder kaur
varinder kaur le 18 Avr 2018
Thanks for quick reply. Can you please provide any reference how can i use .net assembly to web asp.net c# code?
Kojiro Saito
Kojiro Saito le 18 Avr 2018
About ASP.NET Web sample, this document would be useful with C# example. This example uses webfigure for plotting MATLAB figure on aspx.
varinder kaur
varinder kaur le 19 Avr 2018
Thanks for detail information.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

Community Treasure Hunt

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

Start Hunting!

Translated by