a method to call matlab code from a language programming
조회 수: 4 (최근 30일)
이전 댓글 표시
hi, I want a method to call matlab code from a language programming vb.net, java, c # or php any video, documents, source code will be welcome thank you in advance
댓글 수: 0
답변 (2개)
A Jenkins
2014년 5월 20일
Have you looked at the MATLAB COM Automation Server ? There are several examples on the website. Or you can type
doc automation
Simple VB Code would look like this:
Dim Matlab As Object
Dim server_version As String
Matlab = CreateObject("matlab.application")
server_version = Matlab.Execute("version")
댓글 수: 3
A Jenkins
2014년 5월 20일
Another option is to convert your MATLAB code to standalone code, using MATLAB Coder or MATLAB Compiler, if you have access to these toolboxes and your code is compatible.
참고 항목
카테고리
Help Center 및 File Exchange에서 COM Component Integration에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!