MATLAB: Change tetrahedral mesh to hexahedral

hexahedralmeshstltetrahedral

I'm using Matlab 2019b. I have an stl file, that I read using STL File Reader version 1.2.0.0:
[f,v] = stlread('filename');
I see quite straightforward how to get a tetrahedral mesh out of it, but I need a hexahedral one. How can I obtain it? Or is there an easy way to convert a tetrahedral mesh into hexahedral?
Thank you for your time.

Best Answer

Here is the way
Result
Related Question