title: Side-By-Side Images - MATLAB Report Generator
body: <p>Based on the matlab documentation example (<a href="https://www.mathworks.com/help/rptgen/ug/side-by-side-images.html" rel="nofollow noreferrer">https://www.mathworks.com/help/rptgen/ug/side-by-side-images.html</a>) I was trying to repeat it with other two images.</p>
  <p>Code:</p>
  <pre><code>close all;
  clear all;
  clc;
   
  import mlreportgen.report.*
  import mlreportgen.dom.*
    
  linkImage = image(imread('https://www.aviationmegastore.com/img/prod/full/f/9/167408_0.jpg'));
  RGBImage = image(imread('sevilla.jpg'));
  rpt = Report('PDFreport', 'pdf');
   
  imgStyle = {ScaleToFit(true)};
  RGBImage.Style = imgStyle;
  linkImage.Style = imgStyle;
   
  lot = Table({RGBImage, ' ', linkImage});
   
  lot.entry(1,1).Style = {Width('3.2in'), Height('3in')};
  lot.entry(1,2).Style = {Width('.2in'), Height('3in')};
  lot.entry(1,3).Style = {Width('3.2in'), Height('3in')};
   
  lot.Style = {ResizeToFitContents(false), Width('100%')};
   
  add(rpt, lot);
  close(rpt);
  rptview(rpt);
  </code></pre>
  <p>but I get this error:</p>
  <pre><code>Unrecognized property 'Style' for class 'matlab.graphics.primitive.Image'.
  
  Error in Untitled (line 13)
  RGBImage.Style = imgStyle;
  </code></pre>
  <p>How do I fix it and what causing it?</p>