-
Notifications
You must be signed in to change notification settings - Fork 14
Description
With v1 I was able to configure my CI to use the same workflow to run my own custom test environment in both MATLAB and Octave, by launching them via the command line. For MATLAB, I used matlab -batch "myscript"
.
After switching to v2, I get a "License checkout failed" error when attempting to launch MATLAB from a shell.
License checkout failed.
License Manager Error -1
The license file cannot be found.
Troubleshoot this issue by visiting:
https://www.mathworks.com/support/lme/1
Diagnostic Information:
Feature: MATLAB
License path: /home/runner/.matlab/R2023b_licenses:/opt/hostedtoolcache/MATLAB/2023.2.999/x64/licenses/license.dat:/opt/hostedtoolcache/MATLAB/2023.2.999/x64/licenses
Can I add a -c licensefile
to the command to make it work? If so, where is the license file? If not, please tell me how I can successfully launch MATLAB from a shell script to run my custom tests.
And keep in mind that the reason I am not able to use matlab-actions/run-command
is because I'm using the same workflow to run my custom test scripts on Octave. I have a lot of projects with this setup, so redesigning all of them would be prohibitive.
Any help is appreciated.