timerfindall — Find all timer objects by exact property value.

timerfindall returns valid timer handles regardless of ObjectVisibility, optionally filtered by exact property values.

Syntax

timers = timerfindall
timers = timerfindall(Name, Value, ...)

Inputs

NameTypeRequiredDefaultDescription
Name,ValueAnyVariadicProperty filters matched by exact value.

Returns

NameTypeDescription
timersAnyMatching timer handle, empty cell row, or cell row of timer handles.

Errors

IdentifierWhenMessage
RunMat:timer:InvalidInputA timer argument, property, or callback value has an unsupported type.timer: invalid input
RunMat:timer:InvalidPropertyA timer property name is unknown, read-only, or has an invalid value.timer: invalid property
RunMat:timer:InvalidHandleA lifecycle method receives a non-timer or invalid timer handle.timer: invalid timer handle

How timerfindall works

  • timerfindall returns visible and invisible valid timers in the current runtime thread.
  • timerfindall(Name, Value, ...) applies exact property matches.
  • A single match returns a scalar timer handle. Zero or multiple matches return a 1-by-N cell row because RunMat does not yet have first-class MATLAB object arrays.
  • Deleted timers are removed from discovery.

Does RunMat run timerfindall on the GPU?

timerfindall is host-side handle registry lookup and has no GPU behavior.

Example

Find invisible timers

t = timer('ObjectVisibility', 'off', 'TimerFcn', @tick);
allTimers = timerfindall

Using timerfindall with coding agents

Open a RunMat example with live inputs, then ask the agent to explain how timerfindall changes the result.

Run a small timerfindall example, explain the result, then change one input and compare the output.

Open-source implementation

Unlike proprietary runtimes, every RunMat function is open-source. Read exactly how timerfindall is executed, line by line, in Rust.

About RunMat

RunMat is an open-source runtime that executes MATLAB-syntax code blazing on any GPU. It is licensed under the Apache 2.0 license.

  • RunMat automatically optimizes your math for GPU execution on Apple, Nvidia, and AMD hardware. No code changes needed. Simulations that took hours now take minutes.
  • Start running code in seconds. RunMat runs in the browser, on the desktop, or from the CLI. No license server, no IT ticket.

Getting started · Benchmarks · Pricing

Download RunMat

Download RunMat for full performance, or use RunMat in your browser for zero setup.