title: Undefined function 'eq' for input arguments of type 'cell'
body: <p>I tried to make a function that generates a number of strings.</p>
  
  <pre><code>function [p] = GetPattern (v)
  load('code128B.mat')
  
  for a=1:length(code128B)
      if v == code128B(a,1)
          p=code128B{a,3};
      end
  end
  </code></pre>
  
  <p>code128B.mat contains data, first column are numbers while third column are strings. I want to input numbers and produce a string.
  why this function produce an error: Undefined function 'eq' for input arguments of type 'cell'.? I don't get it.</p>
  
  <p>Thanks for any help.</p>