This is the code:
filename = 'Fixed.txt';filepath = 'C:\Users\admin\Desktop\numberPlateExtraction';file= fullfile(filepath, filename);fid = fopen(file, 'rt');fread(fid, 15, '*uchar');data_cell = textscan(fid, '%s', 'CommentStyle' , {'File', '\t'},'CollectOutput',1);fclose(fid);data = data_cell{1};Original output:data ='+91245XXXXXXX'Required output:data =+91245XXXXXXX
[EDITED, Jan, Code formatted]
Best Answer