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

 채택된 답변

Thomas
Thomas 2012년 4월 16일

0 개 추천

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 LabVIEW에 대해 자세히 알아보기

질문:

2012년 4월 16일

Community Treasure Hunt

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

Start Hunting!

Translated by