ef-code-arguments">(&hellip;, <code class="code">'ToScalar'</code>, <var class="var">trueOrFalse</var>)</code><a class="copiable-link" href="#index-table2struct-1"> &para;</a></span></dt>
<dd>
<p>Converts <var class="var">obj</var> to a scalar structure or structure array.
</p>
<p>Row names are not included in the output struct. To include them, you
must add them manually:
  s = table2struct (tbl, &rsquo;ToScalar&rsquo;, true);
  s.RowNames = tbl.Properties.RowNames;
</p>
<p>Returns a scalar struct or struc