vb.net - How to call Matlab functions from vb. (Matlab & VB integration) -


i working matlab , vb .net. have part of code in vb, while other half in matlab. main program in vb want use of functions built in matlab(for example m-file functions). possible import m-file functions , call them vb or through dlls? how do if it's possible?

i know can build matlab application object in vb , call internal function using matlab.execute. allow me call functions built myself?

also, when use matlab execute command, matlab command window appear on task bar. ok way if knows way make not show great.

you can change directory cd , execute function saved in your_file.m there:

dim mobj object dim res string mobj = createobject("matlab.application")  'create matlab object res = mobj.execute("cd c:\your\path")      'change directory res = mobj.execute("your_file")            'execute function 

i not find solution hide icon in taskbar.


Comments

Popular posts from this blog

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -