Code covered by the BSD License  

Highlights from
Pointers Toolbox

from Pointers Toolbox by Ben Petschel
basic functions to work with pointer variables and dynamic data types

mwrite(ptr,x)
function mwrite(ptr,x)
% ptr/malloc: write the value of a pointer
% usage: mwrite(ptr,x)
%
% mwrite overwrites with x the slot in virtual memory used by ptr.
%
%
% See also: mread, mwrite, malloc, mfree

% Author: Ben Petschel 31/8/2009
% Version History:
%   31/8/2009 - initial release


mmgr(2,ptr,x);

Contact us at files@mathworks.com