Coder Social home page Coder Social logo

Pkg.test() fails about mex.jl HOT 4 OPEN

byuflowlab avatar byuflowlab commented on July 20, 2024
Pkg.test() fails

from mex.jl.

Comments (4)

taylormcd avatar taylormcd commented on July 20, 2024

What MATLAB release are you using? One of this packages dependencies, MATLAB.jl doesn't work with 2022a and 2022b.

I have some automated tests that passed a year ago but fail now with the newer versions of MATLAB.

from mex.jl.

taylormcd avatar taylormcd commented on July 20, 2024

The latest versions of MATLAB (2022a and 2022b) and Julia (v1.8) don't appear to work with this package.

The automatic tests currently work with MATLAB 2021b and Julia 1.6. Perhaps try that combination? Or you could try using https://github.com/jondeuce/MATDaemon.jl

I should note that while calling into Julia works pretty well, calling back into MATLAB (which automatically occurs when Julia catches an error) seems to inevitably lead to a segfault when using this package, although it doesn't happen immediately. I was never really able to find out the reason why when I was working actively on this package.

from mex.jl.

LuzieH avatar LuzieH commented on July 20, 2024

Thanks for the quick reply @taylormcd. I am using Matlab 2019b. MATLAB.jl runs smoothly, its only Mex where the tests fail, so I believe the problem lies there.
I want to use Matlab's optimization function fmincon, and I was trying to use Fmincon.jl (https://github.com/byuflowlab/Fmincon.jl) to port from Julia to Matlab, for that I need Mex.

from mex.jl.

taylormcd avatar taylormcd commented on July 20, 2024

I can confirm that the master branch (i.e. dev Mex) works on Linux with MATLAB 2021b and Julia 1.8.

I also tested to make sure Fmincon.jl still works, though I did make a small edit.

from mex.jl.

Related Issues (11)

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.