equipez/Run MATLAB Command with Options
Run MATLAB commands in CI. Optionally enforce a time limit and treat timeout as success. Supports Linux/macOS runners.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Feb 20, 2026
- License
- BSD
Pinned Snippet
uses: equipez/run-matlab-command@d65e33925c48e4da7fb38a1d4769728e81fd4781 # v2.1tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| command | MATLAB commands to execute (as in matlab-actions/run-command). Multi-line supported. | yes | — |
| timelimit | Optional. If set (e.g. 5h, 45m, 300s), terminate the step after this duration and mark it as success. If empty, no time limit is applied. | no | "" |
| working-directory | Optional working directory in which to run the command. | no | "" |
| install-run-matlab-command | Install run-matlab-command if it is not found on PATH. | no | true |
| signal | Signal sent when the time limit is reached (passed to timeout/gtimeout). | no | TERM |
| kill-after | Wait time before sending SIGKILL after signal (passed to timeout/gtimeout). | no | 30s |
| quiet | Reduce log output (passed to run-bash-command). | no | false |
Outputs
| name | description |
|---|---|
| timed_out | true if the time limit was reached (and treated as success), else false. |
| exit_code | Exit code of the underlying command (124 typically indicates timeout). |
| run_matlab_command_path | Resolved path to run-matlab-command. |
| script_path | Path to the generated .m script file. |