06 Sep 2013
27 Jan 2014)
A MATLAB GUI to plot and to analyze (nano)indentation data (obtained with conical indenters)
|comma2point_overwrite( filespec )
function comma2point_overwrite( filespec )
% replaces all occurences of comma (",") with point (".") in a text-file.
% Note that the file is overwritten, which is the price for high speed.
file = memmapfile( filespec, 'writable', true );
comma = uint8(',');
point = uint8('.');
file.Data( transpose( file.Data==comma) ) = point;