Integrating matlab into delphi and produce stand alone applications

fatihbarut
fatihbarut used Ask the Experts™
on
hi guys,
is any one here ever acchived to "Integrating matlab into delphi and produce stand alone applications"
thank you
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

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

How to connect Matlab and Delphi 7
Matlab + Delphi

Author

Commented:
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.

Commented:
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...
Amazon Web Services

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

Author

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

Author

Commented:
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?

Author

Commented:
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.
developmentguruPresident

Commented:
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.

Author

Commented:
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.

Commented:
What you mean is probably MATLAB Server Pages!!!

Author

Commented:
thank you it looks very nice, let me try it

Author

Commented:
I am sorry, I think that is not a solution for me.

Commented:
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: http://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

Commented:
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.
Commented:
Here is a page with some example of integrating MATLAB and DELPHI. It's in Russian, but the code examples are readable and you can try a google translator to understand some comments.
http://www.cyberforum.ru/matlab/thread339238.html

But it looks like all of this can be version specific, for both DELPHI and MATLAB.

Another problem they report is significant drop in MATLAB performance when it's run from DELPHI.
Geert GOracle dba
Top Expert 2009

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

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial