The custom module has the following matlab code in the matlab\my_new_module.m file:
add_array(M, 'test', 'int', zeros(1,3), 'parameter', 'test', 0);
M.test.guiInfo.label = ['t1;' 't2;' 't3;'];
add_array(M, 'param', 'int', zeros(3,1), 'parameter', 'param', 0);
M.test.guiInfo.label = ['p1;', 'p2;', 'p3;'];
add_array(M, 'demo', 'int', zeros(1,3), 'parameter', 'demo', 0);
M.demo.guiInfo.label = ['d1;' 'd2;' 'd3;'];
But only the three horizontal labels in the demo are displayed normally
6:04pm
I noticed that you used the "test" object for both the first and second arrays.
add_array(M, 'test', 'int', zeros(1,3), 'parameter', 'test', 0);
M.test.guiInfo.label = ['t1;' 't2;' 't3;'];
add_array(M, 'param', 'int', zeros(3,1), 'parameter', 'param', 0);
M.test.guiInfo.label = ['p1;', 'p2;', 'p3;']; <--- this line has commas between the elements
add_array(M, 'demo', 'int', zeros(1,3), 'parameter', 'demo', 0);
M.demo.guiInfo.label = ['d1;' 'd2;' 'd3;'];
This doesn't directly answer your question but it might be part of the issue. Also check the commas between the elements as noted.
Thanks,
Gary