Skip to content

Run Matlab executable outside the context of this action #53

Open
@externl

Description

@externl

Hello, sorry if this isn't the correct place to ask this question. The CI/CD testing of our MATLAB library uses a Python script which calls directly calls the matlab binary (among testing and doing other things). So unfortunately we can't directly use this action.

Calling this, for example, fails

$ echo 'frpintf("Hello world\n");' > hello.m
$/opt/hostedtoolcache/MATLAB/2023.2.999/x64/bin/matlab -batch "hello"

License checkout failed.
License Manager Error -1
The license file cannot be found.

This repository seems to use an intermediary command located at $WORKINGDIR/$os/run-matlab-command$bin_ext. Presumably it configures the license or something?

Is there any workaround we can use to be able to call the Matlab executable directly? Like loading the action and calling this run-matlab-command command?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions