Matlab routine for simple Sankey diagrams

Just came across a new piece of software for simple Sankey diagrams.
DrawSankey.m is a routine for Matlab that allows to produce diagrams like these:

DrawSankey.m is from the Industrial Energy Systems Laboratory (LENI) at Swiss EPFL in Lausanne. Find more information on their Wiki.

I haven’t tested it myself yet, but this definitely looks like an interesting add-on for Matlab users. I have added drawSankey.m to the Sankey software list.