How to append a new element to a cell object A?
Show older comments
>>A={'a';'b'};
I want to append a new element,say 'c', to A, how could I do?
I would appreciate if you could help me.
Accepted Answer
More Answers (1)
geofo
on 3 Dec 2021
>> A=[A;'c'];
Categories
Find more on Logical in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!