Run MSX with EPANET 2.2 in EMT-dev 2.2

Hello all,
I want to run the example “EX0_CCWI2016_contamination_simulation.m” in Pressure driven mode. I define “G.setDemandModel(type, pmin, preq, pexp)” but I get the error in the below picture. What’s the problem? Is it possible to run MSX in PDA mode?
Thanks