Clear Filters
Clear Filters

Regarding matlab to asp.net c#

5 views (last 30 days)
varinder kaur
varinder kaur on 18 Apr 2018
Commented: varinder kaur on 19 Apr 2018
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.

Accepted Answer

Kojiro Saito
Kojiro Saito on 18 Apr 2018

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 Comments
Kojiro Saito
Kojiro Saito on 18 Apr 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 on 19 Apr 2018
Thanks for detail information.

Sign in to comment.

More Answers (0)

Categories

Find more on MATLAB Compiler SDK in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!