How to create a matlab object of a specific version using vb.net -


i trying create application in vb.net. during 1 of step, if user click "launch matlab cmd window" button matlab cmd window(only matlab cmd window, not application) launched.

the snipe of code :

private sub matlab_cmd_click(sender object, e eventargs) handles matlab_cmd.click       dim matlab object = createobject("matlab.application") end sub 

i know simple, 1 line of code problem have different versions(3 versions of matlab) installed on computer different development environment purpose. code launches matlab 2009b cmd window want launch matlab 2013a cmd window. there way define specific version of matlab cmd window launch?

there shared progid "matlab.application" let's start matlab version , version specific progid let's start specific version, example "matlab.application.8.1" start matlab 2013a. of progids registered matlab explained here. version of matlab installation, use ver command.


Comments

Popular posts from this blog

yii2 - Yii 2 Running a Cron in the basic template -

asp.net - 'System.Web.HttpContext' does not contain a definition for 'GetOwinContext' Mystery -

mercurial graft feature, can it copy? -