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