how to remove quote

I have variable
g=strcat('Cord',filename)
g = 'Cord1'
I want to convert g from char to double to obtain g=Cord1

1 件のコメント

Jan
Jan 2018 年 10 月 2 日
This sounds like the typical problem of indices hidden in names of variables. Don't do this. See the exhaustive explanations at: Tutorial: Why to avoid EVAL

回答 (0 件)

この質問は閉じられています。

質問済み:

2018 年 10 月 1 日

閉鎖済み:

2021 年 8 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by