Is there another example of invoking MATLAB as an automation server using VB.NET?
6 views (last 30 days)
Show older comments
MathWorks Support Team
on 27 Jun 2009
Edited: MathWorks Support Team
on 29 May 2023
I have read the following solution:
I was wondering if there was another example of calling GetFullMatrix from VB.NET?
Accepted Answer
MathWorks Support Team
on 24 May 2023
Edited: MathWorks Support Team
on 29 May 2023
Below is another example of calling GetFullMatrix from VB.NET. This is without adding a MATLAB reference in the VB.NET project:
Dim MatLab As Object
Dim Result As String
Dim MReal(1, 3) As Double
Dim MImag(1, 3) As Double
Dim RealValue As Double
MatLab = CreateObject("matlab.application")
Result = MatLab.Execute("a = [1 2 3 4; 5 6 7 8;]")
Call MatLab.GetFullMatrix("a", "base", MReal, MImag)
0 Comments
More Answers (0)
See Also
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!