How can i store string in cell without apostrophe?
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
siddhesh rane
am 25 Jul. 2013
Bearbeitet: Stephen23
am 25 Feb. 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 Kommentare
Akzeptierte Antwort
David Sanchez
am 25 Jul. 2013
M = cell(1,1);
str = 'A50';
str = char(str);
M{1} = str;
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Characters and Strings finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!