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 comentario

Jan
Jan el 2 de Oct. de 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

Respuestas (0)

La pregunta está cerrada.

Etiquetas

Preguntada:

el 1 de Oct. de 2018

Cerrada:

el 20 de Ag. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by