how to pass point to comma in matlab

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

 Akzeptierte Antwort

Thomas
Thomas am 16 Apr. 2012

0 Stimmen

b='12,365'
s1=strrep(b,',','.')
c=str2num(s1)

Weitere Antworten (0)

Gefragt:

am 16 Apr. 2012

Community Treasure Hunt

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

Start Hunting!

Translated by