I want to be able to retreive data from an actxserver API
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Tim Moriarty
le 20 Nov 2015
Réponse apportée : Robert Snoeberger
le 20 Nov 2015
h = actxserver('progid.Name.API.Extractor');
%Below is the data stream identifier within the API
%Go and get all the data for the passed ID
id = 12345
c = APIGetExtract(h, id);
%The below error is generated with this code
Undefined function 'APIGetExtract' for input arguments of type 'COM.progid_Name_API_Extractor'.
I would like to know the correct code to be able to retreive the data of id = 12345 from h above. The API is being recognized however I do not know the correct function to retrieve the specific data from the API.
0 commentaires
Réponse acceptée
Robert Snoeberger
le 20 Nov 2015
It looks like APIGetExtract is not the correct name of the method. You should see the documentation about getting method information for a COM object [1].
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Use COM Objects in MATLAB dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!