Hi,
You can :
> use Matlab as an Automation Server, but Matlab need to be installed, see :
http://www.mathworks.com/support/solutions/data/29080.shtml
http://www.mathworks.com/access/helpdesk/help/techdoc/matlab_external/ch07cl17.shtml
> compile a Matlab executable file, but you'll need the Matlab Compiler Toolbox (which isn't free) :
http://www.mathworks.com/access/helpdesk/help/toolbox/compiler/compiler.shtml
Then you'll have to exchange data between your VB and Matlab programs, it can be done using temporary files but it's not really a reliable solution.
> compile a COM objet (in Matlab), but you'll need the Matlab COM Builder (either not free) :
http://www.mathworks.com/access/helpdesk/help/toolbox/combuilder/combuilder.shtml
This is I think the bett
er solution, see VB examples on the link above.
Hope this will help you. Bye !