MATLAB Answers

How can I convert strings in cell array into array?

1 view (last 30 days)
I am not able to convert strings in cell array into array

  0 Comments

Sign in to comment.

Accepted Answer

Shubham Sangle
Shubham Sangle on 10 Jul 2019
Edited: Shubham Sangle on 10 Jul 2019
strcat() has the property that it trims out leading and trailing blanks from parameters that are character vectors. It does not do that for cell array of character vectors.
For more details you can visit documentation of strcat here

  0 Comments

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!