numerical array is being saved as string

2 ビュー (過去 30 日間)
Em
Em 2022 年 1 月 14 日
回答済み: KSSV 2022 年 1 月 14 日
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 日
Read about str2double and str2num.

カテゴリ

Help Center および File ExchangeCell Arrays についてさらに検索

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by