input a of class char and input b of class cell must be cell arrays of character vectors, unless one is a character vector. in matlab

To input a of class char:

main.m
a = 'example';
15 chars
2 lines

To input b of class cell:

main.m
b = {'example1', 'example2', 'example3'};
42 chars
2 lines

related categories

gistlibby LogSnag