I do not have EJS 3.4 but I do have EJS3.45
The latest version which support mathlab/simulink is EJS 3.47

The tank created in the above simulations was using polygon element.
The height h1/h2 was change by changing y coordinate for 4 points belongs to polygon.
You should be able to do it with EJS 3.45 and above.