CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Dec 2004
    Posts
    2

    Talking VB - GA - Matlab

    Hi all,

    I just wonder to know whether VB .Net can communicate with genetic algorithm (GA) and the toolboxs in matlab. If so, is there any suggestions???

    Thx. ^^

    Best,
    pm

    ------------------------
    No one can make you feel inferior without your permission!!!
    Last edited by pocketmoney; December 3rd, 2004 at 05:43 AM.
    No one can make you feel inferior without your permission!!!

  2. #2
    Join Date
    Oct 2004
    Posts
    78

    Re: VB - GA - Matlab

    Easiest way..... COM Interop.

  3. #3
    Join Date
    Dec 2004
    Posts
    2

    Red face Re: VB - GA - Matlab

    Quote Originally Posted by AnotherAlias
    Easiest way..... COM Interop.
    Thanks AnotherAlias. I have add a reference called EvWatcher32 (a GA tool). How can i use it? Could you provide me some sample codes?

    Besides, how to add a interop to communicate the fuzzy toolbox in Matlab???

    Many thanks!!!
    No one can make you feel inferior without your permission!!!

  4. #4
    Join Date
    Oct 2004
    Posts
    78

    Re: VB - GA - Matlab

    It depends on "wich way you want to go"...

    If you want to write .NET code that can be used in those environments, then you create a ClasLibrary assembly and expose the classes as ComVisible.

    If you want to access MatLim or GA code within your .NET code, then you create a wrapper (TlbImp.exe is the easist way), then you can treat them like .NET assemblies (well almost )

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured