title: match check in matlab
body: <p>i have strings like these:</p>
  
  <pre><code>s{1,2} = 'string';
  s{2,2} = 'string2';
  </code></pre>
  
  <p>and in workspace structure like this</p>
  
  <pre><code>U.W.string = [2 2.5 3]
  </code></pre>
  
  <p>I want to check (in loop) s{1,2} or s{2,2} or s{i,2} matches any structure with the same name. If so, assign values from this structure to some variable var(i). How can it be done?</p>