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
Post a Comment