dbirch997 / cantera

Automatically exported from code.google.com/p/cantera
1 stars 0 forks source link

MATLAB R2007a satTemperature.m and satPressure.m (among others) and MEX-file issues #53

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. create a gas from IdealGasMix.m (most other functions work great)
2. run either satTemperature.m or satPressure.m
3.

What is the expected output? What do you see instead?
I expect a return value of an associated saturation temperature or pressure.
I get an error message stating something about MEX-files (see attached for 
error message)

What version of the product are you using? On what operating system?
I am running Cantera 1.7.0 with MATLAB 7.4.0.287 (R2007a) on Mac OS X 10.5.8

Please provide any additional information below.
Cantera could not find the MATLAB configuration MEX files when I installed it.  
Therefore, the toolbox did not automatically install in MATLAB.  I copied the 
/matlab/cantera folder from the source code folder in Cantera into 
/Applications/MATLAB_SV74/toolbox.  I added the toolbox to the file path and 
the other functions work when I run them in MATLAB.

I initially tried to change the MEX settings in MATLAB via mex -setup to get 
the Cantera make install call to find it, but all it did was cause my normal 
MATLAB functions to work incorrectly, so I reinstalled MATLAB because I 
couldn't figure out how to change the MEX settings back.

Original issue reported on code.google.com by john.si...@gmail.com on 3 Aug 2011 at 7:26

Attachments:

GoogleCodeExporter commented 9 years ago
When I try this, I get an error message that looks like:

************************************************
                Cantera Error!
************************************************

Procedure: purefluid
Error:   object is not a PureFluidPhase object

Which sounds about right to me.

Original comment by yarmond on 24 Mar 2012 at 1:44