'123' to 123

6 次查看(过去 30 天)
dmfwlansejr
dmfwlansejr 2021-7-30
回答: Stephen23 2021-7-30
A='123';
i want convert to number 123
A=123

采纳的回答

Stephen23
Stephen23 2021-7-30
A = '123'
A = '123'
A = str2double(A)
A = 123

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Data Type Conversion 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by