I am trying to print out a simple output table in scilab that is just a matrix of numbers with a top row of headers.The issue that arises is I don't know how to print strings in just the top row of an initialized matrix. For example,
b= ['i', 'j']
prints
!i j!
with exclamation points. What are these exclamation points for?
And
b = zeros(m1, m2)
b(1,:) = ['i', 'j' ...]
gives an error
!--error 10000
%c_i_s: Affection of a string in a matrix of numbers is not implemented.
What is the meaning of this error? How do I otherwise print strings in a matrix but accessing one of the row/columns? I tried putting string(i) but this also did not work. Thank you