the cell array test = {'audi landjet einsteiger awd welt'} should be displayed without the {} in matlab

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.m
test = {'audi landjet einsteiger awd welt'};
disp(test{1});
60 chars
3 lines

The output of this code will be:

main.m
audi landjet einsteiger awd welt
33 chars
2 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.

related categories

gistlibby LogSnag