title: Using a function's argument to get the value of the substructure
body: <pre><code>function found = find(property)
      res = 0;
      if subject(1).property == 20
          res = res + 1;
      end
  end
  </code></pre>
  
  <p>Hey guys, I am trying to get the substructure to be identified through this function's argument. Any ideas on how to implement this? Thank you.</p>