Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to launch matlab engine #13

Open
musm opened this issue Apr 29, 2021 · 1 comment
Open

Unable to launch matlab engine #13

musm opened this issue Apr 29, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@musm
Copy link

musm commented Apr 29, 2021

Hello.

I'm maintaining the MATLAB.jl package which calls the MATLAB Engine APIs for C. Unfortunately, using this gh-action, I am unable to open the Matlab engine through the engOpen method (ref: https://www.mathworks.com/help/matlab/apiref/engopen.html).
For reference the current code and it's unit tests work perfectly on a fresh install of MATLAB 2021a. I'm not sure why the engine fails to open on the gh actions CI:

https://github.com/JuliaInterop/MATLAB.jl/pull/189/files#diff-3ab46ee209a127470fce3c2cf106b1a1dbadbb929a4b5b13656a4bc4ce19c0b8

@acampbel acampbel added the enhancement New feature or request label Apr 29, 2021
@mcafaro
Copy link
Member

mcafaro commented Jun 10, 2021

We spoke to musm outside of GitHub and I just want to post our response here so others can see it if they come across this issue:

Thanks for reaching out, and thanks for your contributions to the open source community with this package! Definitely love the ability to interoperate across languages.

Unfortunately, currently the licensing for MATLAB when using these actions on GitHub-hosted runners does not support the MATLAB engine. The licensing only applies to direct MATLAB execution as part of the CI build.

However, you can leverage self-hosted runners that have MATLAB on them in order to run your CI builds for this case. I know that is more to maintain, but that is what would be needed for the time being.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants