title: Extract string from Categorical Variable in Matlab
body: <p>I have a matlab categorical variable T where referencing T(1) gets me a 1x1 categorical type with string 'Test' in it. </p>
  
  <p>How would I convert this categorical variable directly back to a string so that I may use it in another function that takes a string as an input? </p>