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 GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Feb 20, 2026
License
BSD

Pinned Snippet

workflow.ymlSHA-pinned
uses: equipez/run-matlab-command@d65e33925c48e4da7fb38a1d4769728e81fd4781 # v2.1

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
commandMATLAB commands to execute (as in matlab-actions/run-command). Multi-line supported.yes
timelimitOptional. 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-directoryOptional working directory in which to run the command.no""
install-run-matlab-commandInstall run-matlab-command if it is not found on PATH.notrue
signalSignal sent when the time limit is reached (passed to timeout/gtimeout).noTERM
kill-afterWait time before sending SIGKILL after signal (passed to timeout/gtimeout).no30s
quietReduce log output (passed to run-bash-command).nofalse
namedescription
timed_outtrue if the time limit was reached (and treated as success), else false.
exit_codeExit code of the underlying command (124 typically indicates timeout).
run_matlab_command_pathResolved path to run-matlab-command.
script_pathPath to the generated .m script file.