Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

how to remove quote

1 view (last 30 days)
kmla
kmla on 1 Oct 2018
Closed: MATLAB Answer Bot on 20 Aug 2021
I have variable
g=strcat('Cord',filename)
g = 'Cord1'
I want to convert g from char to double to obtain g=Cord1
  1 Comment
Jan
Jan on 2 Oct 2018
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

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!