To illustrate in more details,
> cs = actxserver('dataserver'); % register com server
> cs.registerevent('eventcall'); % register event callback method
In eventcall.m, function eventcall(varargin), can the varargin be a C# class object?
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!