| File | Date | Author | Commit |
|---|---|---|---|
| Example.m | 2014-07-06 |
|
[fc70da] Uppercase first letter of Octave example |
| README.rst | 2014-05-14 |
|
[b3847c] Initial commit for v5, but this time with the r... |
A wrapper of CoolProp for the Octave programming language (an open-source version of MATLAB)
This CoolProp.oct module is built using SWIG, and is built for octave for windows built with Visual Studio.
Separate versions of the .oct file are available for Octave 3.6.1 and 3.6.2. Put the .oct file for the version you have in somewhere in the octave path, or use the addpath function to add the folder that contains CoolProp.oct to the Octave path
On Linux systems you can put .oct file in "/usr/share/octave/?octave.version.number?/m" folder. You will need superuser privileges to do this.
If you place .oct file somewhere outside octave path, you have to use "addpath" function at begining of your code.
/* Include VC++ original math.h */
#include <c:/Program Files (x86)/Microsoft Visual Studio 10.0/VC/include/math.h>
depending on where your VS is installed
sudo apt-get update sudo apt-get install octave liboctave-dev swig
to install the necesary dependencies. The install of octave might not be necessary but it cant hurt
git clone https://github.com/ibell/coolprop
cd coolprop/wrappers/Octave
octave _OctaveBuilder_Linux.m
octave sample_code.m
to run the sample
sudo aptitude update sudo aptitude install octave liboctave-dev swig subversion
git clone https://github.com/ibell/coolprop
cd coolprop/wrappers/Octave
octave _OctaveBuilder_Linux.m
octave sample_code.m
to run the sample