help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

HELP: Do "octave" have com automation server or dll to access from exter


From: Sundar Dha
Subject: HELP: Do "octave" have com automation server or dll to access from external vb code
Date: Thu, 28 Oct 2010 12:16:45 -0700 (PDT)

Thank for your reply, I have one more question in this regard.....
 
1. How do i install and activate the "octave" com server
2. or How do i call the dll from vb, say for example like this
 
         DIM oBJ
 
            oBJ = createobject("<here enter octave dll . function or class >").
        
     If you notice the following code, which Running MATLAB Function from Visual Basic .NET Program, I would like to know whats the exe or dll or files to be called like this to access "octave"  function.
 
 
Dim MatLab As Object
Dim Result As String
Dim MReal(1, 3) As Double
Dim MImag(1, 3) As Double

MatLab = CreateObject("Matlab.Application")

'Calling MATLAB function from VB
'Assuming solve_bvp exists at specified location
Result = MatLab.Execute("cd d:\matlab\work\bvp")
Result = MatLab.Execute("solve_bvp")

'Executing other MATLAB commands
Result = MatLab.Execute("surf(peaks)")
Result = MatLab.Execute("a = [1 2 3 4; 5 6 7 8]")
Result = MatLab.Execute("b = a + a ")
'Bring matrix b into VB program
MatLab.GetFullMatrix("b", "base", MReal, MImag)




Thanks
sundar

PS:
The 3 Laws of the Procrastination Society:

1) Never do today that which can be put off until tomorrow
2) Tomorrow never comes
3) Never do it tomorrow when you can postpond it for one more day

--- On Thu, 10/28/10, Sundar Dha <address@hidden> wrote:

From: Sundar Dha <address@hidden>
Subject: Re: HELP: Do "octave" have com automation server or dll to access from external vb code
To: "Jordi Gutiérrez Hermoso" <address@hidden>
Cc: address@hidden
Date: Thursday, October 28, 2010, 6:54 PM

Thank for your reply, I have one more question in this regard.....
 
1. How do i install and activate the "octave" com server
2. or How do i call the dll from vb, say for example like this


Thanks
sundar

PS:
The 3 Laws of the Procrastination Society:

1) Never do today that which can be put off until tomorrow
2) Tomorrow never comes
3) Never do it tomorrow when you can postpond it for one more day

--- On Thu, 10/28/10, Jordi Gutiérrez Hermoso <address@hidden> wrote:

From: Jordi Gutiérrez Hermoso <address@hidden>
Subject: Re: HELP: Do "octave" have com automation server or dll to access from external vb code
To: "Sundar Dha" <address@hidden>
Cc: address@hidden
Date: Thursday, October 28, 2010, 6:11 PM

On 28 October 2010 13:03, Sundar Dha <address@hidden> wrote:
> [a question?]

I think you're asking how to call Octave from Visual Basic. We've had
this question before:

http://octave.1599824.n4.nabble.com/How-to-run-m-file-from-delphi-o-visual-basic-td1601108.html

HTH,
- Jordi G. H.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]