MATLAB: Do I get an error when using twoPhaseFluidTables with REFPROP 9.1.1 in Simscape Fluid R2017a

I am getting the following error when trying to use twoPhaseFluidTables:
>> ff = twoPhaseFluidTables([30,4000],[0.01, 15],25,25,60,'water','C:\Program Files (x86)\REFPROP\')
Error using loadlibrary
Too many input arguments.
Error in ==>@()prototypeFile(refpropPath) at 240
There was an error running L:\MATLAB\R2017a\toolbox\physmod\simscape\library\m\twoPhaseFluidTables.m.
Run @()prototypeFile(refpropPath) from the command line to reproduce the error and fix it.
Error in twoPhaseFluidTables>refpropInitialize (line 293)
loadlibrary(fullfile(refpropPath, dllName), prototype, 'alias', libName);
Error in twoPhaseFluidTables (line 95)
[libName, molw] = refpropInitialize(refpropPath, substance);
Caused by:
    Error using rp_proto64
    Too many input arguments.

Best Answer

REFPROP 9.1.1 changed the function signature of the MATLAB interface functions.
To work around, download the attached files and place them in the following location:
C:\Program Files (x86)\REFPROP