Hi, thanks a lot for posting this app!
I'm a student and my assignment is to create a simple OPC client/server application. So your example is great to make my own program from, but I have a problem with it, I figured you're the best person to ask, since you created it. I have kepserver running, and at runtime (clicking the cylinder button) matlab gives this error:
??? Reference to non-existent field 'data_itm'.
Error in ==> opc_demo>cylinder_Callback at 325
state = read(handles.data_itm(state));
Error in ==> gui_mainfcn at 96
feval(varargin{:});
Error in ==> opc_demo at 42
gui_mainfcn(gui_State, varargin{:});
??? Error while evaluating uicontrol Callback
The error is similar for the ejector device, kepserver fails to add any of the devices:
Date Time Level User Name Source Event
12/27/2010 6:59:11 PM 2 Default User KEPServerEx Attempt to add OPC client item 'Channel_0.Sine.Sine1' failed.
Could you please help me with this? Meanwhile, I'm continuing to search for solutions.