a method to call matlab code from a language programming

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

Answers (2)

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 Comments

i'll have a look at thanks
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.

Sign in to comment.

Categories

Asked:

on 20 May 2014

Answered:

on 21 May 2014

Community Treasure Hunt

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

Start Hunting!