Why Won't MatLab Recognize my COM Application's Events?

7 visualizaciones (últimos 30 días)
James Lambert
James Lambert el 22 de Jun. de 2018
I am attempting to set up a COM server with the command
example = actxserver('Afgrow.Application')
I can successfully set up the server and invoke methods / change data with:
example.get('ExampleProperty')
example.set('ExampleProperty')
example.invoke('ExampleMethod')
But, when I try to set up events with:
example.registerevent(EventHandlerHandle)
No errors happen, but
example.eventlisteners
is empty. I then read that you should be able to veiw all possible events with
example.events
This also returned nothing. Does anyone know a fix?
Thanks,
Jimmy L.

Respuestas (0)

Categorías

Más información sobre Use COM Objects in MATLAB en Help Center y File Exchange.

Productos


Versión

R2018a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by