Giter Site home page Giter Site logo

Matlab Integration about librefprop.so HOT 16 CLOSED

jowr avatar jowr commented on August 16, 2024
Matlab Integration

from librefprop.so.

Comments (16)

ibell avatar ibell commented on August 16, 2024

What version of MATLAB? @jowr is not available for a while - perhaps I can
help you.

On Fri, Aug 28, 2015 at 10:10 AM, Jorge Barreto [email protected]
wrote:

While using the matlab I got this error when I call the test.m file, I'm
working on 64 bit MacOSx

Error using loadlibrary (line 440)
Not enough input arguments.
Error in ==>rp_proto64 at 10
There was an error running /opt/refprop/rp_proto64.m.
Run rp_proto64 from the command line to reproduce the error and fix it.

Error in refpropm (line 242)

[notfound,warnings]=loadlibrary(strcat(BasePath,dllName),prototype,'alias',libName);

Error in test (line 2)
Tp=refpropm('T','C',0,' ',0,'water');

Error in run (line 63)
evalin('caller', [script ';']);

Caused by:
Error using rp_proto64 (line 10)
Not enough input arguments.


Reply to this email directly or view it on GitHub
https://github.com/jowr/librefprop.so/issues/33.

from librefprop.so.

jaabarreto avatar jaabarreto commented on August 16, 2024

R2014b

from librefprop.so.

ibell avatar ibell commented on August 16, 2024

What is in line 10 of rp_proto64? I don't have access to this system
configuration to test on my side.

On Fri, Aug 28, 2015 at 10:12 AM, Jorge Barreto [email protected]
wrote:

R2014b


Reply to this email directly or view it on GitHub
https://github.com/jowr/librefprop.so/issues/33#issuecomment-135821916.

from librefprop.so.

jaabarreto avatar jaabarreto commented on August 16, 2024

ThunkLibName=fullfile(basePath,'librefprop_thunk_maci64');

from librefprop.so.

ibell avatar ibell commented on August 16, 2024

Do you have that file (librefprop_thunk_maci64) somewhere on your computer?

On Fri, Aug 28, 2015 at 11:21 AM, Jorge Barreto [email protected]
wrote:

ThunkLibName=fullfile(basePath,'librefprop_thunk_maci64');


Reply to this email directly or view it on GitHub
https://github.com/jowr/librefprop.so/issues/33#issuecomment-135837955.

from librefprop.so.

jaabarreto avatar jaabarreto commented on August 16, 2024

Yes, I have the .dylib file

from librefprop.so.

ibell avatar ibell commented on August 16, 2024

Where is that dylib file located?

On Fri, Aug 28, 2015 at 11:34 AM, Jorge Barreto [email protected]
wrote:

Yes, I have the .dylib file


Reply to this email directly or view it on GitHub
https://github.com/jowr/librefprop.so/issues/33#issuecomment-135840509.

from librefprop.so.

ibell avatar ibell commented on August 16, 2024

Also, can you please run:

otool -L /path/to/dylib

and report the output?

On Fri, Aug 28, 2015 at 11:45 AM, Ian Bell [email protected] wrote:

Where is that dylib file located?

On Fri, Aug 28, 2015 at 11:34 AM, Jorge Barreto [email protected]
wrote:

Yes, I have the .dylib file


Reply to this email directly or view it on GitHub
https://github.com/jowr/librefprop.so/issues/33#issuecomment-135840509.

from librefprop.so.

jaabarreto avatar jaabarreto commented on August 16, 2024

At /opt/refprop

No dia 28/08/2015, às 18:46, Ian Bell [email protected] escreveu:

Where is that dylib file located?

On Fri, Aug 28, 2015 at 11:34 AM, Jorge Barreto [email protected]
wrote:

Yes, I have the .dylib file


Reply to this email directly or view it on GitHub
https://github.com/jowr/librefprop.so/issues/33#issuecomment-135840509.


Reply to this email directly or view it on GitHub.

from librefprop.so.

ibell avatar ibell commented on August 16, 2024

Can you please email me your rp_proto64 to [email protected]?

On Fri, Aug 28, 2015 at 11:51 AM, Jorge Barreto [email protected]
wrote:

At /opt/refprop

Jorge André Barreto
[email protected]

No dia 28/08/2015, às 18:46, Ian Bell [email protected] escreveu:

Where is that dylib file located?

On Fri, Aug 28, 2015 at 11:34 AM, Jorge Barreto <
[email protected]>
wrote:

Yes, I have the .dylib file


Reply to this email directly or view it on GitHub
<
https://github.com/jowr/librefprop.so/issues/33#issuecomment-135840509>.


Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHub
https://github.com/jowr/librefprop.so/issues/33#issuecomment-135844681.

from librefprop.so.

jaabarreto avatar jaabarreto commented on August 16, 2024

yes.

from librefprop.so.

jaabarreto avatar jaabarreto commented on August 16, 2024

Which directory I have to run the 'otool -L /path/to/dylib'?

from librefprop.so.

ibell avatar ibell commented on August 16, 2024

How about this: otool -L /opt/refprop/librefprop.so ?

On Fri, Aug 28, 2015 at 12:30 PM, Jorge Barreto [email protected]
wrote:

Which directory I have to run the 'otool -L /path/to/dylib'?


Reply to this email directly or view it on GitHub
https://github.com/jowr/librefprop.so/issues/33#issuecomment-135854838.

from librefprop.so.

jaabarreto avatar jaabarreto commented on August 16, 2024

/opt/refprop/librefprop.dylib:
/home/jorgebarreto1/lib/librefprop.9.1.dylib (compatibility version 9.1.0, current version 9.1.0)
/usr/local/lib/gcc/5/libquadmath.0.dylib (compatibility version 1.0.0, current version 1.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1213.0.0)

from librefprop.so.

ibell avatar ibell commented on August 16, 2024

Hmm... that all seems ok as far as I see...

On Fri, Aug 28, 2015 at 12:33 PM, Jorge Barreto [email protected]
wrote:

/opt/refprop/librefprop.dylib:
/home/jorgebarreto1/lib/librefprop.9.1.dylib (compatibility version 9.1.0,
current version 9.1.0)
/usr/local/lib/gcc/5/libquadmath.0.dylib (compatibility version 1.0.0,
current version 1.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version
1213.0.0)


Reply to this email directly or view it on GitHub
https://github.com/jowr/librefprop.so/issues/33#issuecomment-135855347.

from librefprop.so.

jaabarreto avatar jaabarreto commented on August 16, 2024

Problem solved, I had to change some directories rproto and refprop.m and placed all the files on HOME/Documents/matlab...even with the dylib file (soft link) and the thunk.dylib

from librefprop.so.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.