Based on this post (https://stackoverflow.com/questions/61673169/table-fields-in-format-in-pdf-report-generator-matlab) I run the script on a table. In the script I extracted on