numerical array is being saved as string

I have a numerical array which is saved somehow as a string - when I get Matlab to return the variable, all the numbers are in speechmarks. Is there a way to remove this?
Cheers

回答 (1 件)

KSSV
KSSV 2022 年 1 月 14 日

0 投票

Read about str2double and str2num.

カテゴリ

ヘルプ センター および File ExchangeCharacters and Strings についてさらに検索

製品

リリース

R2021b

質問済み:

Em
2022 年 1 月 14 日

回答済み:

2022 年 1 月 14 日

Community Treasure Hunt

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

Start Hunting!

Translated by