I am using the LOADLIBRARY and LIBPOINTER functions in MATLAB 7.0 (R14) to interact with my shared library directly from MATLAB. When I issue the following sequence of commands:
x = 10;xp = libpointer('doublePtr', x);
I receive this error:
??? Undefined variable "lib" or class "lib.pointer". Error in ==> libpointer at 18ptr=lib.pointer(varargin{:});
I did not receive this error in MATLAB 6.5.1 (R13SP1)
Best Answer