If you want to ensure the same ticks mark as you have in your matlab plot then this might help
matlab2tikz('latextikzfile.tex','extraAxisOptions',{['xtick={' regexprep(num2str(get(gca,'XTick')),'\s*',',') '}']})
Tags: extraAxisOptions, matlab2tikz
If you want to ensure the same ticks mark as you have in your matlab plot then this might help
matlab2tikz('latextikzfile.tex','extraAxisOptions',{['xtick={' regexprep(num2str(get(gca,'XTick')),'\s*',',') '}']})
Tags: extraAxisOptions, matlab2tikz