How can i store string in cell without apostrophe?
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
siddhesh rane
le 25 Juil 2013
Modifié(e) : Stephen23
le 25 Fév 2021
I want to store say A50 in cell ..but i dont want apostrophes in it like 'A50'..how can i do it.?
I tried to use string to number and string to double but it didnot work.
Thanks in advance.
0 commentaires
Réponse acceptée
David Sanchez
le 25 Juil 2013
M = cell(1,1);
str = 'A50';
str = char(str);
M{1} = str;
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Data Type Identification dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!