title: To RESHAPE the number of elements must not change
body: <p>With the following code I get the error message <em>To RESHAPE the number of elements must not change</em>.</p>
  
  <pre><code>[Ilabel, num] = bwlabel(Ifill);
  disp(num);
  Iprops = regionprops(Ilabel);
  Ibox = [Iprops.BoundingBox]; 
  Ibox = reshape(Ibox,[4,50]);%Error using reshape .
  imshow(Ibox)
  </code></pre>
  
  <p>Can anyone help me?</p>