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
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.
Avatar of Thommy
Thommy
Flag of Germany image

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...
Avatar of fatihbarut
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.
Avatar of fatihbarut
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?
Avatar of fatihbarut
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.
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.
Avatar of fatihbarut
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.
Avatar of Thommy
Thommy
Flag of Germany image

What you mean is probably MATLAB Server Pages!!!
Avatar of fatihbarut
fatihbarut

ASKER

thank you it looks very nice, let me try it
Avatar of fatihbarut
fatihbarut

ASKER

I am sorry, I think that is not a solution for me.
Avatar of yuk99
yuk99
Flag of United States of America image

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
Avatar of yuk99
yuk99
Flag of United States of America image

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

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of Geert G
Geert G
Flag of Belgium image

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

Delphi is the most powerful Object Pascal IDE and component library for cross-platform Native App Development with flexible Cloud services and broad IoT connectivity. It provides powerful VCL controls for Windows 10 and enables FMX development for Windows, Mac and Mobile. Delphi is your choice for ultrafast Enterprise Strong Development™. Look for increased memory for large projects, extended multi-monitor support, improved Object Inspector and much more. Delphi is 5x faster for development and deployment across multiple desktop, mobile, cloud and database platforms including 32-bit and 64-bit Windows 10.

60K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo