It can be done by using placeins package and \FloatBarrier command.
Put \setlength\arraycolsep{1pt} to the preamble to make the columns narrower.
Put the following in the preamble:
\hypersetup{
colorlinks=true,
linkcolor=blue,
filecolor=magenta,
urlcolor=cyan,
citecolor=blue,
}
surfc(QI,HstatI,PI,'EdgeColor','none','LineStyle','none' )
If you do a right click on the model on the left side of the screen and choose Instantiate Model
values(isnan(values(:,1)),:) = [];
Specify the PNG (anti-aliased) (*.png) exporter