How do I access individual elements of a matrix returned by a MATLAB COM object to Visual Basic?
Afficher commentaires plus anciens
I have a MATLAB COM Builder generated object and I am trying to access the values of a returned matrix in Visual Basic.
For example:
Dim load As Variant
Call MatlabObject.myFunct(2, load, score, msparseX, 1#)
The MATLAB function declaration is
[load, score] = myFunct(X,numEle)
If I attempt to acess the individual values of "load" with the Array property I receive the error
"Let procedure not defined"
This puzzles me because I can access the individual values of the input array msparseX.Array(1) without any difficulty.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Use COM Objects in MATLAB dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!