From: Zach on
I'm attempting to embed an explorer window into a figure, which is pretty simple. But I'm also attempting to perform certain tasks with callbacks from the activex object. My question is how do I pass a variable into the callback that is set with the function registerevent?

handles; %This is the variable I want to pass
explorer_obj = actxcontrol('Shell.Explorer.2',user_size,gcf);
explorer_obj.registerevent('mycallback')


Any help would be appreciated.
Thanks!