To display a cell array without the curly braces, you can index into the cell array and display the content at that index. For example, to display the content of the first cell in the cell array test
, you can use the following code:
main.m60 chars3 lines
The output of this code will be:
main.m33 chars2 lines
Here, test{1}
accesses the content of the first cell in the cell array, which is a string, and disp
is used to display the string on the console.
gistlibby LogSnag