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
Programming Languages-OtherDelphiVoice RecognitionMATLAB Programming

Avatar of undefined
Last Comment
Geert G

8/22/2022 - Mon
Thommy

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

How to connect Matlab and Delphi 7
Matlab + Delphi
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.
Thommy

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...
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
fatihbarut

ASKER
thanks alot it was very helpful. Let me some time to evaluate it and probably I will okey the question in several days.
fatihbarut

ASKER
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?
fatihbarut

ASKER
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.
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
developmentguru

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.
fatihbarut

ASKER
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.
Thommy

What you mean is probably MATLAB Server Pages!!!
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
fatihbarut

ASKER
thank you it looks very nice, let me try it
fatihbarut

ASKER
I am sorry, I think that is not a solution for me.
yuk99

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/Programming/Languages/MatLab/Q_26940695.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
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
yuk99

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
yuk99

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Geert G

This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.