www.gusucode.com > matlab 案例源码 matlab代码程序 > matlab/ShrlibCreatePointerExample.m

    %% Create Pointer  
% Create a pointer |pv| of type |int16| initialized to |485|.   

%%  
pv = libpointer('int16Ptr',485);  

%% 
% Display the properties of |pv|. 
get(pv)