How to link Delphi XE with MatLab? What are books about it? With code sections desirable and explanation!
1 answer
Calling MATLAB functions from Delphi
In addition to the method of compiling MATLAB code in dll and calling it from Delphi obvious way (as I already answered here ) , there is another way to use the COM object MATLAB .
About using the MATLAB COM object there is detailed information here , however, personally, I would choose compiling in dll from two ways, because COM objects are nice, but a compiled dll can be called from any project and, presumably, easily transferred with a bundle of standard dll MATLAB'a ) to another system.
Calling Delphi Functions from MATLAB
The situation is exactly diametric - compile the Delphi code into the library and call it from MATLAB using the LOADLIBRARY function added with R2008a .
|