<pre><span></span><span class="n">object1</span><span class="p">.</span><span class="n">label</span><span class="w"></span>

<span class="s">&quot;Experiment 1&quot;</span><span class="w"></span>
</pre></div>
</div>
<p>Similarly, you can return the label for object 2 using:</p>
<div class="highlight-matlab notranslate"><div class="highlight"><pre><span></span><span class="n">object2</span><span class="p">.</span><span class="n">label</span><span class="w"></span>

<span class="s">&quot;Experiment 2&quot;</s