Integrating MatLab for C# into visual studio

I want to be able to use some MatLab functions to smooth real time data collected from an airplane IMU and GPS during an aerobatic maneuver. I am using C# and the suggestions I have seen for integrating MatLab functions into Visual Studio only relate to C or C++. Is the process as simple as finding the proper DLL from MatLab and integrating it into my environment via a "using" statement? If so where is the proper DLL and if not how do I do this integration.

 채택된 답변

Walter Roberson
Walter Roberson 2016년 7월 10일

0 개 추천

댓글 수: 3

Andrew Cruce
Andrew Cruce 2016년 7월 10일
I'm not sure which file to add to the visual studio references. The directions in the web page were: C# project to the MATLAB COM object. From the Project menu, select Add Reference.
Select the COM tab in the Add Reference dialog box.
Select the MATLAB application.
There is no MatLab.com and I'm not sure selecting matlab.exe is what is required. Would you please provide me with a little more information. I'm new to C# and visual studio.
Alfred Anyan
Alfred Anyan 2019년 5월 21일
Check this path: C:\Program Files\MATLAB\R2018b\bin\win64\mlapp.tlb

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 MATLAB Compiler SDK에 대해 자세히 알아보기

태그

질문:

2016년 7월 10일

댓글:

2019년 5월 21일

Community Treasure Hunt

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

Start Hunting!

Translated by