Link to home
Start Free TrialLog in
Avatar of fatihbarut
fatihbarut

asked on

Integrating matlab into delphi and produce stand alone applications

hi guys,
is any one here ever acchived to "Integrating matlab into delphi and produce stand alone applications"
thank you
Avatar of Thommy
Thommy
Flag of Germany image

Integrate matlab in your Delphi app by using OLE automation...

How to connect Matlab and Delphi 7
Matlab + Delphi
Avatar of fatihbarut
fatihbarut

ASKER

Thanks but they don't seem like explaining everything.

I couldn't open the first link and about second link

I think I should integrate matlab into delphi somehow.

Maybe as ole object or type library or component or activeX object.
First link is a download link for following document, explaining how to connect Matlab with Delphi...

http://www.cpdee.ufmg.br/~seixas/PaginaSDA/Download/DownloadFiles/How%20to%20connect%20Matlab%20and%20Delphi%207.doc

Hope that helps you...
thanks alot it was very helpful. Let me some time to evaluate it and probably I will okey the question in several days.
I have just one problem.
I need my program stand alone and doesn't need to Matlab set up in the computer.
How can I do that?
How can I work my program in a computer in which Matlab is not installed?
I evaluated the link you have sent. And as much as I see it is not the one I want.
Have some problems and explanation is not enough.
If you want to be able to use MatLab functions you need MatLab installed.  Having said that, you could engineer it differently.  You could have MatLab installed on a server.  On that server you could run, say, a web service.  This web service could accept requests from your program, translate them into MatLab calls, and translate the results back to your program.  This would give you the means to make MatLab a service that you can call, over the internet, from your application.  The end result is that you could use the MatLab functions, without MatLab being installed, as long as they have an internet connection.

You would have to talk to MatLab on the legalities though.
I know something calling Matlab server or like that. which is also purchasable from Matworks and that server allows 3. programs to use matlab function without matlab installed.
What you mean is probably MATLAB Server Pages!!!
thank you it looks very nice, let me try it
I am sorry, I think that is not a solution for me.
Yes, you can integrate DELPHI and MATLAB compiling MATLAB function(s) into a dll library and using this library in a DELPHI project. In this case you don't need MATLAB to be installed on user's machine.

The bad news is it's not well documented for DELPHI. I know only one EE member (BdLm) who were succeeded doing this. See this question: https://www.experts-exchange.com/questions/26940695/matlab-MEX-crash-debugging-MATLAB-with-PARDOX-DATABASE.html
You may try to follow up this question with a hope that BdLm will answer. Sadly EE doesn't give you other ways to contact with authors.

Check also this doc on the basics how to create dll library and use it in other project:
http://www.mathworks.com/support/solutions/en/data/1-18CBI/?solution=1-18CBI
I checked again the question I've referred to in my last comment. Sorry it's actually about opposite - using dll written in DELPHI in MATLAB. Anyway I believe the integration you need is possible, but be ready to go through a lot of problems.
ASKER CERTIFIED SOLUTION
Avatar of yuk99
yuk99
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Geert G
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.