Clear Filters
Clear Filters

how to pass point to comma in matlab

1 view (last 30 days)
hello every body. I have raw data that I recovered of a laser sensor this the point in such data is 12,365, does it have a way to pass commas in matlab example 12.365 (for the moment I made it through labview), thank you for your help

Accepted Answer

Thomas
Thomas on 16 Apr 2012
b='12,365'
s1=strrep(b,',','.')
c=str2num(s1)

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!