How can i store string in cell without apostrophe?
4 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
David Sanchez
2013-7-25
M = cell(1,1);
str = 'A50';
str = char(str);
M{1} = str;
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Characters and Strings 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!